• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Problem with certificate after update

René Dyhr

New Pleskian
After I have updated my system, I've got this message:

"New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] BIO_new_file("/opt/psa/var/certificates/cert-djEHyk") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/opt/psa/var/certificates/cert-djEHyk','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: configuration file /etc/nginx/nginx.conf test failed . 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."

I have tried nearly everything that I can find on Google and nothing works. What can I do to fix this issue?
 
In one of your domains' Nginx configuration files the certificate is referenced, but the certificate file is missing in the file structure. A quick & dirty solution to this issue is to copy an existing certificate file from /opt/psa/var/certificates to /opt/psa/var/certificates/cert-djEHyk , then restart the web server in this order:
# nginx -t
(proceed only if the checks are OK)
# service nginx reload
 
In one of your domains' Nginx configuration files the certificate is referenced, but the certificate file is missing in the file structure. A quick & dirty solution to this issue is to copy an existing certificate file from /opt/psa/var/certificates to /opt/psa/var/certificates/cert-djEHyk , then restart the web server in this order:
# nginx -t
(proceed only if the checks are OK)
# service nginx reload

Why haven't I thought of that one! Thanks, it did the trick.
 
Back
Top