Articles in this section

Can't log in to Plesk: cannot load certificate "/usr/local/psa/admin/conf/httpsd.pem"

Plesk for Linux kb: technical

Symptoms

  • Plesk is not accessible after server restart, sw-cp-server service fails to start.

  • Errors in /var/log/sw-cp-server/error.log:

    CONFIG_TEXT: cannot load certificate "/usr/local/psa/admin/conf/httpsd.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)

Cause

SSL certificate is corrupted.

Resolution

  1. Log in to Plesk server via SSH

  2. Restore the certificate:

    # cp /usr/local/psa/admin/conf/httpsd.pem.sav /usr/local/psa/admin/conf/httpsd.pem

  3. Restart sw-cp-server service:

    # systemctl restart sw-cp-server

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.