- Plesk for Linux
- 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
- #PPPM-8269 "SSL certificate without private key can be applied to webmail"
- Plesk Obsidian 20 November 2018 (fixed as PPP-35991)
If update is not possible for some reason you may try the following
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