LetsEncrypt failure when starting new Ghost 1-Click Droplet

If you’re looking for some help, it’s important to provide as much context as possible so that people are able to assist you. Try to always mention:

  • What’s your URL? This is the easiest way for others to debug your issue
  • What version of Ghost are you using?
    Ghost 3.13.4, CLI 1.13.1
  • What configuration?
  • What browser?
  • What errors or information do you see in the console?
    When I initially log into the Ghost Droplet, here is the output: https://pastebin.com/eYuWDm3x
    Here is the log file created by the installer: https://pastebin.com/vFjw1uQ5
    Here is the output of acme.sh from the install script with --debug 2 added, error is line 328: https://pastebin.com/HktYcHTN
  • What steps could someone else take to reproduce the issue you’re having?
    Spin up a new Ghost Droplet with a Cloudflare-protected domain.

Scratching my head on this one folks. I’m not sure why the acme challenge isn’t showing up correctly. Perhaps it’s a Cloudflare issue from some of the output I’m seeing in the --debug 2 log. Any help or guidance is appreciated!

EDIT: I should note that I did enable development mode on the domain prior to doing all of this to try and keep Cloudflare’s involvement to a minimum for setup.

For the Enter your blog URL: step of the setup you entered https://DomainName.TLD which is an invalid domain name. LetsEncrypt needs public access to your real domain in order to issue the SSL certificate.

You can re-run the setup by logging into the droplet and running the ghost setup command within the main directory of your Ghost site and using a valid domain name.

The log was sanitized by keyword… I’m using the proper domain when I enter my information during setup.