SSL certificates are not working with nginx enabled

Created:

2016-12-12 03:43:33 UTC

Modified:

2017-08-08 13:33:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

SSL certificates are not working with nginx enabled

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

After enabling nginx on a server, all SSL websites load with a default Plesk certificate, although, every domain has its own signed SSL certificate.

Cause

Misconfiguration in the server's virtual host custom templates in /usr/local/psa/admin/conf/templates/custom

Resolution

Review SSL settings in custom templates in /usr/local/psa/admin/conf/templates/custom directory:

    # grep -r SSL /usr/local/psa/admin/conf/templates/

To restore default settings move /custom directory to /custom.bak and rebuild web server configuration files:

    # mv /usr/local/psa/admin/conf/templates/custom /usr/local/psa/admin/conf/templates/custom.bak
# plesk repair web -server
Have more questions? Submit a request
Please sign in to leave a comment.