• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Force webmail SSL

mtfm

New Pleskian
Hey there,

It seems like this question has been asked before and I also tried a bunch of solutions but with no luck.

I want to have webmail.my-server.com to be force-redirected to https. That is my goal.
I'm using roundcube for now.

a.) I tried checking the "Secure Webmail with SSL" … this seems to work, when typing https into the browser the Certificate is there.

b.) I tried rewriting the ```/usr/share/psa-roundcube/config/defaults.inc.php``` to "force_https = true". But this did not do the trick.

I want to always have webmail force redirect to https. What do I have todo.

Thanks,
Matt
 
Maybe I do not quite understand your task, but if I go to Mail Settings of subscription and set up "SSL/TLS certificate for webmail" with LetsEncrypt for domain.com, Roundcube webmail works only with https.
 
Maybe I do not quite understand your task, but if I go to Mail Settings of subscription and set up "SSL/TLS certificate for webmail" with LetsEncrypt for domain.com, Roundcube webmail works only with https.

Thanks for your answer, but no – this is not the case for me. I have one main domain mydomain.com and also have set the Let's Encrypt Certificate (active) in the "Mail settings" for this subscription. Also the certificate works.

I'm however interested in FORCING SSL on this. As when typing "webmail.mydomain.com" into the browser it always just loades the http version not the https.
 
Back
Top