Keywords: WordPress + NGINX + SSL - Google Cloud Platform - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 7f5c046d-eddd-8e19-c4de-2435f8776093
I can't regenerate snd install A Let's Encrypt SSL Certificate For A Bitnami Applicationhttps://docs.bitnami.com/bch/how-to/generate-install-lets-encrypt-ssl/#alternative-approach
I have done this procedure three month ago, but there might be some mistakes on step 5 and my client certificate has been expired.
So, I did this below.
rm -rf /opt/bitnami/letsencrypt
sudo mv /opt/bitnami/nginx/conf/server.crt.old /opt/bitnami/nginx/conf/server.crt
sudo mv /opt/bitnami/nginx/conf/server.key.old /opt/bitnami/nginx/conf/server.key
sudo /opt/bitnami/ctlscript.sh restart
But there is a error when I put 'sudo /opt/bitnami/ctlscript.sh restart'.
Error code is bellow.
nginx: [emerg] cannot load certificate "/opt/bitnami/nginx/conf/server.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/opt/bitnami/nginx/conf/server.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Actually I ignored the error because I did't get the solution, I tried starting from the beginning following the procedure.
Natually, other errors have happend.
I think that server.crt and server.key are not put right directry is the cause but I can't find server.crt.
This is my bitnmami support ticket
Now my client website is closed and I have to solove as soon as possible.
Please help me.