Keywords: WordPress - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 32fa9892-1136-b956-c772-41ada24cb4aa
I tried to follow the instructions at:
But when I run…
chmod +x /etc/lego/renew-certificate.sh
chmod: cannot access '/etc/lego/renew-certificate.sh': Permission denied
I also cannot get into the lego directory in SFTP and I can't open the file in vim or CD into the directory.
When I run
It runs - stopping and starting the web server, but does not renew the certificate, so there may be something wrong with the code in the file also (need to look at it to find out).
Note that I can successfully renew the certificate manually...
sudo /opt/bitnami/ctlscript.sh stop
sudo lego --tls --email="EMAIL-ADDRESS" --domains="DOMAIN" --path="/etc/lego" renew
sudo /opt/bitnami/ctlscript.sh start
As you can probably tell, my knowledge/comfort level with Linux/Command Line is pretty minimal, so thanks for speaking slowly