Author Topic: Enable SSL (Beginner Question)  (Read 444 times)

Offline clifton11221

  • Jr. Member
  • **
  • Posts: 16
Enable SSL (Beginner Question)
« on: February 18, 2019, 03:38:23 PM »
I'm attempting to enable SSL on my RoundCube installation (v1.3.8).  In the install instructions I see:

Code: [Select]
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
However, I don't see the line of code to add this.  Kindly post an example of what I should be looking for and how it should look when I make the edit.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,491
    • http://SKaero.com/
Re: Enable SSL (Beginner Question)
« Reply #1 on: February 19, 2019, 12:42:12 AM »
You prefix the default_host and smtp_server lines in the Roundcube config.inc.php

Offline clifton11221

  • Jr. Member
  • **
  • Posts: 16
Re: Enable SSL (Beginner Question)
« Reply #2 on: February 19, 2019, 01:36:49 PM »
I tried:

Code: [Select]
$config['default_host'] = 'ssl://localhost';
and

Code: [Select]
$config['default_host'] = 'tls://localhost';
Neither worked... When I attempt to login I receive the error:

Code: [Select]
Connection to storage server failed.
Also, I do not have an "smtp_server" line of code in my config.inc.php file.