SSLCertificateFile: file does not exist or is empty

Created:

2017-03-05 06:40:00 UTC

Modified:

2017-08-08 13:12:50 UTC

2

Was this article helpful?


Have more questions?

Submit a request

SSLCertificateFile: file does not exist or is empty

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

  • After removing CA part of the default Plesk certificate, the following error occurs on Home page:

    New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 110 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-RpTxo3' does not exist or is empty
    
  • Test of the configuration of web server shows the following:

    # /usr/local/psa/admin/bin/apache-config -t
    Syntax error on line 110 of /etc/httpd/conf/plesk.conf.d/server.conf:
    SSLCACertificateFile: file '/usr/local/psa/var/certificates/cert-RpTxo3' does not exist or is empty
  • Configuration file still contains the record about the certificate from the error:

    # grep 'cert-RpTxo3' /etc/httpd/conf/plesk.conf.d/server.conf
    SSLCACertificateFile "/usr/local/psa/var/certificates/cert-RpTxo3"
  • Apache fails to start with the following error:

    # service httpd start
    Starting httpd: Syntax error on line 110 of /etc/httpd/conf/plesk.conf.d/server.conf:
    SSLCACertificateFile: file '/usr/local/psa/var/certificates/cert-RpTxo3' does not exist or is empty
     

Cause

Such behavior is caused by the product bug with id #PPPM-5892 and will be fixed in further product updates.

Workaround

Make the certificate with a removed CA part as a default one again:

Tools & Settings > SSL Certificates > check 'example_certificate' > Make Default

Have more questions? Submit a request
Please sign in to leave a comment.