Keywords: Nginx - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 81692427-11c2-850f-7b87-992b5dcf31b1
Following these directions: https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/#alternative-approach to get SSL on my bitnami NGINX wordpress site.
I was able to generate a certificate but I cannot scp folder where keys are stored to utilize them.
/stack/letsencrypt/accounts: No such file or directory
scp: /opt/bitnami/nginx/conf/server.key: Permission denied
I generated a public key which is also on your server with command: ssh-keygen -t rsa
Then I try to copy output of cat ~/.ssh/id_rsa.pub to home/bitnami/.ssh/authorized_keys
it says permission denied. Also permission is denied when I try to follow these instructions: https://docs.bitnami.com/virtual-machine/faq/get-started/enable-ssh-keys/
Predictably on the next step, using NGINX Approach B gave me errors and I had to sudo unlink /opt/bitnami/nginx/conf/server.crt AND sudo unlink /opt/bitnami/nginx/conf/server.key to allow me to start again. But still not able to link the certs. Is there something I am missing?
I have been banging my head on this for months, please help.
I am using NGINX and SSHed into bitnami on a mac.