I’m trying to install Ghost for the first time on a new Digital Ocean droplet but running into a problem during the “Setting up SSL” step.
Below is the debug information:
Debug Information:
OS: Ubuntu, v18.04
Node Version: v10.15.0
Ghost-CLI Version: 1.9.9
Environment: production
Command: ‘ghost install’
Message: Command failed: /bin/sh -c sudo -S -p ‘#node-sudo-passwd#’ /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain [example].com --webroot /var/www/ghost/system/nginx-root --reloadcmd “nginx -s reload” --accountemail contact@[example].com
[Wed Jan 16 15:59:33 UTC 2019] [example].com:Verify error:Invalid response from http://[example].com/.well-known/acme-challenge/QwdHb…:
[Wed Jan 16 15:59:33 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details.
[Wed Jan 16 15:59:33 UTC 2019] See: How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub
[Wed Jan 16 15:59:30 UTC 2019] Single domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] Getting domain auth token for each domain
[Wed Jan 16 15:59:30 UTC 2019] Getting webroot for domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] Getting new-authz for domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] The new-authz request is ok.
[Wed Jan 16 15:59:30 UTC 2019] Verifying:[example].com
Exit code: 1
--------------- stdout ---------------
[Wed Jan 16 15:59:30 UTC 2019] Single domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] Getting domain auth token for each domain
[Wed Jan 16 15:59:30 UTC 2019] Getting webroot for domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] Getting new-authz for domain=‘[example].com’
[Wed Jan 16 15:59:30 UTC 2019] The new-authz request is ok.
[Wed Jan 16 15:59:30 UTC 2019] Verifying:[example].com
--------------- stderr ---------------
[Wed Jan 16 15:59:33 UTC 2019] [example].com:Verify error:Invalid response from http://[example].com/.well-known/acme-challenge/QwdHb…:
[Wed Jan 16 15:59:33 UTC 2019] Please add ‘–debug’ or ‘–log’ to check more details.
[Wed Jan 16 15:59:33 UTC 2019] See: How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub
I cant seem to figure out how to resolve this issue. Can someone help?