Thank you for providing the output of the commands I mentioned
According to the output of this command here, it seems that the symbolic links were not correctly created. In the guide, we mention running these commands:
You should replace the keyword DOMAIN with your actual domain, which in this case I see is
apps.abpp.org. Hence, you need to execute the following steps, this time making sure you use the actual domain name:
sudo ln -sf /opt/bitnami/letsencrypt/certificates/apps.abpp.org.key /opt/bitnami/nginx/conf/bitnami/certs/server.key
sudo ln -sf /opt/bitnami/letsencrypt/certificates/apps.abpp.org.crt /opt/bitnami/nginx/conf/bitnami/certs/server.crt
sudo chown root:root /opt/bitnami/nginx/conf/bitnami/certs/server.crt
sudo chown root:root /opt/bitnami/nginx/conf/bitnami/certs/server.key
sudo chmod 600 /opt/bitnami/nginx/conf/bitnami/certs/server.crt
sudo chmod 600 /opt/bitnami/nginx/conf/bitnami/certs/server.key
Wow, even the instructions to start over don’t work. Adding sudo allowed me to remove the certificate, but the next step failed.
This is because the aforementioned command was run against a non-existent certificate
DOMAIN.crt. The output of the command verifies this:
Apart from that, the
server.key.old are also pointing to the non-existent
DOMAIN.key files. Should you execute any other command involving them, you will end up with the same
No such file or directory error.
Could you try to execute my commands and see if that solves the issue?
After performing the changes, restart the NGINX service and try to connect to your site:
sudo /opt/bitnami/ctlscript.sh restart nginx
Jose Antonio Carmona
Was my answer helpful? Click on