Home » Articles » Forcing SSL on Roundcube and Horde under Plesk

Forcing SSL on Roundcube and Horde under Plesk

Horde

Using your favorite editor open this file:

/usr/share/psa-horde/config/conf.php

Possible values:

0 – Assume that we are not using SSL and never generate https URLS.

1 – Assume that we are using SSL and always generate https URLS.

NOTE: If you do this, you MUST hardcode the correct HTTPS port number in $conf[‘server’][‘port’] below. Otherwise Horde will be unable to generate correct HTTPS URLs when a user tries to access Horde  via a non-HTTPS port.

2 – Attempt to auto-detect, and generate URLs appropriately.

Change the line to resemble this:

$conf['use_ssl'] = 1;

Save the file and visit a horde webmail interface on your server to verify.

Roundcube

Using your favorite editor open this file:

/usr/share/psa-roundcube/config/defaults.inc.php

 

Change the line containing ‘force_https to resemble this:

$config['force_https'] = true;

 

Save the file and visit a Roundcube webmail interface on your server to verify.

About Brian Aldridge

I am a software developer and podcaster. Catch me weekly on Infection - The Survival Podcast at https://infectionpodcast.com

Check Also

Let’s Encrypt settings in Plesk panel.ini file

Using the panel.ini file you are able to customize certain settings used by the Let's Encrypt extension. You can either edit the file directly from the command line or use the Panel.ini Editor extension.