• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

secure webmail using wildcard SSL certificate

mpecon

New Pleskian
After doing many searches I have been unable to work out how to get horde to work with a wildcard SSL on plesk 11.5.

The wildcard SSL certificate works for the domain and subdomains but webmail seems to want to use the self signed certificate provided by the machine.

The "webmail.domain.com" is an alias and not a subdomain.

There are similar threads but are all for much older version of plesk.

Many thanks
 
Last edited:
I edited..

Apache
/etc/apache2/plesk.conf.d/horde.conf

SSLCertificateFile "/etc/ssl/wildcard.pem"
SSLCertificateCAFile "/etc/ssl/wildcard.pem"

NGINX
/etc/nginx/plesk.conf.d/webmail.conf

ssl_certificate /etc/ssl/wildcard.pem;
ssl_certificate_key /etc/ssl/wildcard.pem;

But you have to update the templates to.

/opt/psa/admin/conf/templates/horde.php
/opt/psa/admin/conf/templates/nginxWebmailPartial.php

Copy them to

/opt/psa/admin/conf/templates/custom/

Then edit.
Regards

Lloyd
 
Last edited:
Hi Lloyd,

Many thanks indeed!

The line SSLCertificateCAFile caused errors, so I left it out of /etc/apache2/plesk.conf.d/horde.conf

I have one ip address with multiple domains and I have one wildcard SSL for one of the domains.

Am I correct in guess that if I wanted another wildcard SSL for one of the other domains that this would not work?

Once again, many thanks for your prompt solution.

Regards,

Michael
 
Last edited:
Yeah that's right, you can only use one domain as far as I can tell.

With regards to the SSLCertificateCAFile, it should have been..

SSLCertificateFile "/etc/ssl/webmail.pem"
SSLCACertificateFile "/etc/ssl/certs/webmail.ca"

SSLCertificateFile = private key, and certificate
SSLCACertificateFile = intermediate certificate

I found if I didn't have the CA part I got chain issues when testing the domain at..

https://www.ssllabs.com/ssltest/index.html

Hope it helps
Regards

Lloyd
 
Or, you can do it like..

SSLCertificateKeyFile "/etc/ssl/private/webmail.key"
SSLCertificateFile "/etc/ssl/certs/webmail.crt"
SSLCACertificateFile "/etc/ssl/certs/webmail.ca"

I've just changed mine to this, keep everything separate.
 
Back
Top