-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL setup is not working #176
Comments
@MrAdam yeah, others have reported this occurring before, am not 100% sure why 😕 One user reporting being able to fix the issue by removing the Quick command to do that: |
This was completely my mistake. I tried running the following directly in the console:
It gave me an error related to a base64 encoding/decoding module. My suggestion: |
@MrAdam thanks for finding out what the issue was! I'll bump the minimum supported Node version to v4.5 in the next release - that should fix the base64 issue. The actual notice about it is here: https://git.daplie.com/Daplie/node-greenlock#install -> I just missed that when developing the letsencrypt setup. |
I keep getting a similar error:
It's possibly a totally different cause, but the lack of output is preventing me from debugging. I think it might be a permissions problem, or a problem with the domain not being reachable, can't quite tell! |
@ErisDS if you get a ProcessError, it should output the stdout and stderr of the command into a |
Note: Somehow |
Gonna close this as ssl generation should be fixed for the most part by #238 - if there are further errors we can reopen this (again 😛). Not sure what the original cause was, but the command no longer requires sudo, so it should be a little more sane to run. |
I have problem with Setting up SSL. |
@morajabi the onus is on you here to provide some information if you want someone to help you. |
I am getting the same error MrAdam was seeing. I tried removing the /etc/letsencrypt folder and re-running ghost setup ssl but the error persists. I am using Ghost 1.0.
Here are the contents of the referenced log file:
|
@baldlion are you sure your domain is pointing at your server's IP correctly? That is what would cause the error you are seeing - acme is failing to validate your domain which means something is not pointing correctly. |
@acburdine Yes - I can access ghost from my domain. I have a Type A DNS Record with my domain as the hostname and a value that matches the droplet's IP address (using Digital Ocean). Could it be in my nginx config? |
@acburdine Yes I guss my issue was this. I got exactly the same error. Can’t we show an appropriate error though? |
I did a fresh install and no longer got the error |
@baldlion How? I have the problem. |
@morajabi I had the same error as baldlion's, and it got fixed after pointing my domain at my server. |
I faced the same problem, but in my case it turned out to be because my security group on my EC2 instance where I was trying to deploy was not allowing requests over port 80 (HTTP). It appears that the tool requires that both 80 and 443 be open. |
@frunk48 yes this is the case - letsencrypt has to verify that you actually own your domain - and to do so it sends an HTTP request to your domain's configured IP address. It can't send the request over https because the cert hasn't been configured yet. |
I've tried getting the SSL part of the setup working, but every time I try it, I get the following error:
The text was updated successfully, but these errors were encountered: