I'm unable to figure out why the SSL won't load. I get a process error each time:
My domain is: bre-miche.com
I ran this command: ghost setup ssl
It produced this output:
Last login: Wed Apr 5 17:35:11 2023 from 198.211.111.194
root@ghostonubuntu2204-s-1vcpu-1gb-intel-nyc1-01:~# sudo -i -u ghost-mgr
ghost-mgr@ghostonubuntu2204-s-1vcpu-1gb-intel-nyc1-01:~$ cd /var/www/ghost/
ghost-mgr@ghostonubuntu2204-s-1vcpu-1gb-intel-nyc1-01:/var/www/ghost$ ghost setup ssl
? Enter your email (For SSL Certificate) bre@bre-miche.com
- sudo /etc/letsencrypt/acme.sh --upgrade --home /etc/letsencrypt
- sudo /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --server letsencrypt --domain bre-miche.com --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail bre@bre-miche.com
Setting up SSL
One or more errors occurred.
- ProcessError
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --server letsencrypt --domain bre-miche.com --webroot /var/www/ghost/system/nginx-root --reloadcmd "nginx -s reload" --accountemail bre@bre-miche.com
[Thu Apr 6 04:03:34 UTC 2023] bre-miche.com:Verify error:66.111.4.54: Invalid response from http://bre-miche.com/.well-known/acme-challenge/3KjSPeCbX13KrlSmsFJzoLS6AJlE9ZIWK9t2KUsFYHg: 404
[Thu Apr 6 04:03:34 UTC 2023] Please add '--debug' or '--log' to check more details.
[Thu Apr 6 04:03:34 UTC 2023] See: How to debug acme.sh · acmesh-official/acme.sh Wiki · GitHub
[Thu Apr 6 04:03:29 UTC 2023] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Thu Apr 6 04:03:29 UTC 2023] Single domain='bre-miche.com'
[Thu Apr 6 04:03:29 UTC 2023] Getting domain auth token for each domain
[Thu Apr 6 04:03:31 UTC 2023] Getting webroot for domain='bre-miche.com'
[Thu Apr 6 04:03:31 UTC 2023] Verifying: bre-miche.com
[Thu Apr 6 04:03:31 UTC 2023] Pending, The CA is processing your order, please just wait. (1/30)
Exit code: 1
Debug Information:
OS: Ubuntu, v22.04.1 LTS
Node Version: v16.17.0
Ghost Version: 5.42.0
Ghost-CLI Version: 1.24.0
Environment: production
Command: 'ghost setup ssl'
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2023-04-06T04_03_34_685Z.log
My web server is (include version): Ghost
The operating system my web server runs on is (include version): Ubuntu, v22.04.1 LTS
My hosting provider, if applicable, is: Digital Ocean
I can login to a root shell on my machine (yes or no, or I don't know): I don't know
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): Digital Ocean droplet web console
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): NA