Keywords: WordPress + NGINX + SSL - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 32624802-8748-c34a-ec70-446dde9ff0ec
I tried to install an SSL certificate for my website following the steps giving in https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/#alternative-approach. All was going well until I got to this part 'sudo chown root:root /opt/bitnami/nginx/conf/server*' and ' sudo chmod 600 /opt/bitnami/nginx/conf/server* '.
When I run these scripts, I receive the following error:
'chown: cannot dereference '/opt/bitnami/nginx/conf/server.crt': No such file or directory
chown: cannot dereference '/opt/bitnami/nginx/conf/server.crt.old': No such file or directory
chown: cannot dereference '/opt/bitnami/nginx/conf/server.key': No such file or directory
chown: cannot dereference '/opt/bitnami/nginx/conf/server.key.old': No such file or directory'
I tried to start my server but I now get the following error:
'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)'.
I ran the Bitnami support tool. This is my code: 32624802-8748-c34a-ec70-446dde9ff0ec.
Please I need your help to get my site back up and running.