Keywords: Ghost - AWS - Technical issue - Secure Connections (SSL/HTTPS)
bnsupport ID: 643c889d-03b9-b4a7-3ce3-7ee3a6d77f90
Hi. I'm running Ghost on AWS with Letsencrypt SSL certificates. Everything was just fine until renewal of the certificates, which appears to have failed. If I try and run the commands for renewal, either nothing happens or I get errors
sudo /opt/bitnami/letsencrypt/lego --tls --email=“firstname.lastname@example.org” --domains=“xxx.com” --domains=“www.xxx.com” --path="/opt/bitnami/letsencrypt" renew --days=90
2019/06/29 13:17:12 No key found for account “email@example.com”. Generating a P384 key.
2019/06/29 13:17:12 Saved key to /opt/bitnami/letsencrypt/accounts/acme-v02.api.letsencrypt.org/“firstname.lastname@example.org”/keys/“email@example.com”.key
2019/06/29 13:17:12 Account “firstname.lastname@example.org” is not registered. Use 'run' to register a new account.
Okay, so then I do that and get:
2019/06/29 13:17:41 Could not complete registration
acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-acct :: urn:ietf:params:acme:error:malformed :: Error creating new account :: contact email [mailto:“email@example.com”] contains non-ASCII characters, url:
But the URL has been specified and is made up from valid ASCII
I have stopped Apache and Ghost per Step 5 in https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/
I have tried --days 90 (instead of --days=90) but then the command just hangs and nothing happens at all
Any help would be appreciated as my site is currently not usable.