Plesk is not accessible: Starting sw-cp-serverd: nginx: [emerg] BIO_new_file("/usr/local/psa/admin/conf/httpsd.pem") failed

Created:

2016-11-16 13:05:19 UTC

Modified:

2017-04-24 11:18:44 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk is not accessible: Starting sw-cp-serverd: nginx: [emerg] BIO_new_file("/usr/local/psa/admin/conf/httpsd.pem") failed

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Unable to access Plesk.

sw-cp-server can not be started due to the error:

# service sw-cp-server start
Starting sw-cp-serverd: nginx: [emerg] BIO_new_file("/usr/local/psa/admin/conf/httpsd.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/admin/conf/httpsd.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[FAILED]

/var/log/plesk/sw-cp-server/error_log contains the same errors.

Cause

Missed httpsd.pem certificate.

Resolution

  1. Recreate httpsd.pem certificate:

    # cd /usr/local/psa/admin/conf/ 
    # openssl req -new -nodes -x509 -out httpsd.pem -newkey rsa:2048 -keyout httpsd.pem -days 3650
  2. Restart sw-cp-server :

    # service sw-cp-server restart
Have more questions? Submit a request
Please sign in to leave a comment.