Keywords: Drupal - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 34353752-4e0f-6c5d-07e0-e38ec4aeffa0
I tried going through the steps outlined in https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/ to create an ssl certificate but was unable to perform:
sudo chown root:root /opt/bitnami/apache2/conf/server*
sudo chmod 600 /opt/bitnami/apache2/conf/server*
Got the error: chown: cannot dereference '/opt/bitnami/apache2/conf/server.crt.old': No such file or direc
chown: cannot dereference '/opt/bitnami/apache2/conf/server.key.old': No such file or direc
(checked ls -all and saw that owner was already root:root so I assumed this was fine)
Then when trying to restart the server, I got the error:
SSLCertificateFile: file '/opt/bitnami/apache2/conf/server.crt' does not exist or is empty
apache config test fails, aborting
Then I tried removing lego and restarting from the top but am stuck at the same steps, and unable to start the server back up.
Please help, I searched the docs for two days and was unable to find a solution. Thank you!