-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Letsencypt still broken #10
Comments
Hey @mhertel, sorry you're still having issues. Clean or dirty install from the last issue? If you're using a dirty install, there are some things that need to be updated in The easiest way to get you going without reinstalling nginx or the entire box would be:
This will rebuild nginx with the proper configuration and wipe out the empty ssl certs from a botched install. If you run the updated letsencrypt script, it should find the necessary hooks to inject your hostname for acme.sh to find them. Please let me know if you're still running into issues after this |
I actually did a clean install after it failed last time since I couldnt get nginx to run properly again LOL I will try out what you posted and will report back.. |
ok, it worked.. I also changed my hostname to what letsencrypt was looking for. Cheers! |
Hmm, letsencrypt worked, but now rutorrent won't connect to rtorrent any more.. Let's see what I broke now lol |
I got it working now, some of the copy paste for the nginx config was borked.. |
That's why I recommend cat -- the cat command necessarily has to escape the $ in the file, otherwise cat will expand them as variables (which are null)
becomes
Once the command is done. Is this safe to close now? |
Yes, thanks again! |
Just updated and I'm still getting the same error:
[Thu Aug 24 20:34:08 CEST 2017] Single domain='XXXX.com'
[Thu Aug 24 20:34:08 CEST 2017] Getting domain auth token for each domain
[Thu Aug 24 20:34:08 CEST 2017] Getting webroot for domain='XXXX.com'
[Thu Aug 24 20:34:08 CEST 2017] Getting new-authz for domain='XXXX.com'
[Thu Aug 24 20:34:14 CEST 2017] The new-authz request is ok.
[Thu Aug 24 20:34:14 CEST 2017] Verifying:XXXX.com
[Thu Aug 24 20:34:14 CEST 2017] Nginx mode for domain:XXXX.com
[Thu Aug 24 20:34:15 CEST 2017] Can not find conf file for domain XXXX.com
[Thu Aug 24 20:34:15 CEST 2017] Please add '--debug' or '--log' to check more details.
[Thu Aug 24 20:34:15 CEST 2017] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
[Thu Aug 24 20:34:16 CEST 2017] Installing CA to:/etc/nginx/ssl/XXXX.com/chain.pem
cat: /root/.acme.sh/XXXX.com/ca.cer: No such file or directory
(Domain name removed..)
The text was updated successfully, but these errors were encountered: