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

WikiLeaks is Necessary for Whistleblowers

Research suggests that WikiLeaks is necessary because it provides a safe and public outlet for whistleblowers, promotes government transparency, and encourages the average citizen to inform themselves on important topics that impact their lives.