- Plesk for Linux
Note: This article has the reference to the issue with the fix available:
- #PPPM-8269 "SSL certificate without private key can be applied to webmail (as PPP-35991)"
- Plesk Obsidian Release Candidate 1.0 04 June 2019
- SSL certificate created using XML API request Managing SSL/TLS Certificates with empty
- After assigning certificate to webmail Domains > example.com > SSL/TLS Certificates > tick certName > Secure Webmail the following occurs:
PLESK_ERROR: nginx: [emerg] SSL_CTX_use_PrivateKey_file("/usr/local/psa/var/certificates/scfWe8pdn") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)OR
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 47 of /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf: SSLCertificateFile takes one argument, SSL Server Certificate file ('/path/to/file' - PEM or DER encoded) . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files. See the details in Configuration Troubleshooter
Plesk bug #PPPM-8269 which is planned to be fixed in future product updates.
Secure webmail with a valid certificate via Domains > example.com > SSL/TLS Certificates > tick certName > Secure Webmail.
Note: it is possible to secure WebMail with Let's Encrypt certificate as described in the following article:
How to secure webmail using Let's Encrypt in Plesk Onyx