learning_curve
Golden Pleskian
This almost feels like Part 2 of a very similar issue which was very helpfully solved by Peter Debik but this time it is not the Let's Encypt Renewals themselves, but a certificate records mismatch after their successful renewals
Any NON-Let's Encrypt SSL Certificates that we use are fine. They have 12 Month validity and their renewal process is completely manual and very simple by comparison. The latest issue is only with the regular 3 month renewals of any Let's Encrypt certificates and it seems to be that Plesk is still looking for the OLD Certificate as opposed to the NEW Certificate after a successful renewal, when any associated work is started. In this case, a simple update of the specific Certificate Reference Details for OSCP via the Additional nginx directives area within /web/web-server-settings/
The error, is that the OLD certificate cannot be found within /usr/local/psa/var/certificates/ which is correct, because as part of the renewal process, the Let's Encrypt Extension obviously deleted it Running apachectl -t provides a Syntax OK response but running nginx -t provides the related error report:
which seems to indicate that it's only the nginx config and/or record set that's not successfully been updated.
We cannot use: # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domain-name> as that provides the same error. We cannot use Webserver Configurations Troubleshooter as this also provides the same error. We cannot simply copy the NEW certificate file and then add it back in with the OLD certificate file name, because that would result in certificate duplication and... the NEW certificates are already correctly identified outside of PLESK via all the associated external tests that we have run.
All the correct NEW certificate files are clearly visible in both /usr/local/psa/var/modules/letsencrypt/etc/live/*various*domain*name*subfolders and in /usr/local/psa/var/certificates so we think this can only be a system record set, that's located elsewhere else, that has not yet been updated at the same time all the latest certificate renewals...
So our question is Where do we look to find and how do we update this "mystery" record set to solve the problem? Just Re-Start The Server? It looks like this might will be a regular 3 monthly task too...
Any NON-Let's Encrypt SSL Certificates that we use are fine. They have 12 Month validity and their renewal process is completely manual and very simple by comparison. The latest issue is only with the regular 3 month renewals of any Let's Encrypt certificates and it seems to be that Plesk is still looking for the OLD Certificate as opposed to the NEW Certificate after a successful renewal, when any associated work is started. In this case, a simple update of the specific Certificate Reference Details for OSCP via the Additional nginx directives area within /web/web-server-settings/
The error, is that the OLD certificate cannot be found within /usr/local/psa/var/certificates/ which is correct, because as part of the renewal process, the Let's Encrypt Extension obviously deleted it Running apachectl -t provides a Syntax OK response but running nginx -t provides the related error report:
Code:
SSL_CTX_load_verify_locations("/usr/local/psa/var/certificates/cert-85plFg") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/cert-85plFg','r') error:2006D080:BIO routines:BIO_new_file:no such file error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed
We cannot use: # /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domain-name> as that provides the same error. We cannot use Webserver Configurations Troubleshooter as this also provides the same error. We cannot simply copy the NEW certificate file and then add it back in with the OLD certificate file name, because that would result in certificate duplication and... the NEW certificates are already correctly identified outside of PLESK via all the associated external tests that we have run.
All the correct NEW certificate files are clearly visible in both /usr/local/psa/var/modules/letsencrypt/etc/live/*various*domain*name*subfolders and in /usr/local/psa/var/certificates so we think this can only be a system record set, that's located elsewhere else, that has not yet been updated at the same time all the latest certificate renewals...
So our question is Where do we look to find and how do we update this "mystery" record set to solve the problem? Just Re-Start The Server? It looks like this might will be a regular 3 monthly task too...