You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12:47:02] Setting up SSL [started]
| [12:47:02] Checking DNS resolution [started]
| Uh-oh! It looks like your domain isn't set up correctly yet. Because of this, SSL setup won't work correctly. Once you've set up your domain and pointed it at this server's IP, try running `ghost setup ssl` again.
| [12:47:02] Setting up SSL [skipped]
| [12:47:02] Checking DNS resolution [completed]
| [12:47:02] Preparing Nginx for Let's Encrypt SSL certificate creation [started]
| [12:47:02] Preparing Nginx for Let's Encrypt SSL certificate creation [completed]
| [12:47:02] Restarting Nginx [started]
| Running sudo command: service nginx restart
| [12:47:02] Restarting Nginx [completed]
| [12:47:02] Getting SSL Certificate [started]
| [12:47:09] Getting SSL Certificate [failed]
The text was updated successfully, but these errors were encountered:
Ah I see what the issue is -> passing around the skip parameter is the preferred pattern.
ErisDS
changed the title
SSL tries to generate config even when it has detected it can't
SSL tries to generate certificates even when it has detected it can't
Jul 10, 2017
acburdine
added a commit
to acburdine/Ghost-CLI
that referenced
this issue
Jul 10, 2017
There is a logic error somewhere :)
The ssl task runs a DNS check (and other checks) before even trying to run the letsencrypt command.
It can correctly detect that my DNS is not setup yet, and says [skipping]
However, the letsencrypt and ssl tasks still run, and eventually fail.
See this gist for a far clearer picture of what's happening:
https://gist.github.com/ErisDS/8f3f11065bc7d5765998e06a1e4ae1e5
Relevant excerpt:
The text was updated successfully, but these errors were encountered: