mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
letsencrypt.sh stopped working #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fbatschi on GitHub (May 21, 2016).
I am running the latest git version of letsencrypt.sh
Script ran fine the last several weeks.
Today, when requesting a new cert, it simply stops at the point
Looking into the script, it runs fine until line 384
$response is filled with a json response like this from letsencrypt, so connection to Let's Encrypt API works.
The next line in letsencrypt.sh seems to fail (although if I manually do the command on the cli on above content, it greps the content fine and would put it in $challenges.). Nothing else behinde line 386 is running and letsencrypt.sh simply exits.
Any ideas what this could be?
It happens on several machines, where I have letsencrypt.sh running fine for the last couple weeks.
@embik commented on GitHub (May 21, 2016):
It's silently failing exactly that way for me too. I'm running
letsencrypt.shin a FreeBSD 10.3-RELEASE jail and cannot figure out what's wrong. These are the relevant parts of myconfig.sh:Directory permissions:
My nginx configuration looks like this:
Running
letsencrypt.sh:User
letsencryptis indeed member of the corresponding group and should be able to access the directory:I'm eager to help debug this issue!
@lukas2511 commented on GitHub (May 21, 2016):
Are you both running the latest version (master branch) of letsencrypt.sh? In
561f0626b8i made changes for letsencrypt.sh to be compatible with the newer json format.@ma0am commented on GitHub (May 21, 2016):
did u update it recently? that looks like the json+sed problem from the other ticket
(and yes, the FreeBSD-10.3-RELEASE pkg version does not have this update)
@embik commented on GitHub (May 21, 2016):
The
security/letsencrypt.shport does not contain that commit indeed (as it has been last updated with v0.1.0). I cannot speak for OP of course. Will there be a minor release in the near future to push out these changes to packaging systems not followingmaster?Thank you very much for creating letsencrypt.sh by the way. Cannot be stressed enough.
@fbatschi commented on GitHub (May 21, 2016):
@lukas2511 you are right - I am sorry. I actually used a fork of letsencrypt which does not have the commit you mentioned. After merging upstream it works (again).
@lukas2511 commented on GitHub (May 22, 2016):
I just released version 0.2.0 that contains this patch among a few other changes (see changelog). Hoping this will make its way into all those ports/packages soon.
@embik commented on GitHub (May 22, 2016):
Thank you very much!