• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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