mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-12 06:40:35 +01:00
Requesting Challenge fails for CSR mit multiple "subjectAltName"s #57
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 @stonie08 on GitHub (Feb 9, 2016).
Originally assigned to: @lukas2511 on GitHub.
Using the letsencrypt.sh script with an existing CSR gives me the following error:
It seems there is problem with splitting the subject alternative names (if there are more than two) from the given CSR because the second line contains a comma ','.
The script is called with (config.sh only sets the wellknown path, the challenge and the e-mail)
./letsencrypt.sh --signcsr MYCSR.csr -x --config config.shThe openssl config file to reproduce this behavior:
@lukas2511 commented on GitHub (Feb 10, 2016):
I'll have a look at that problem, thanks for reporting.
Just wondering: Are you using the script under BSD/OSX?
@stonie08 commented on GitHub (Feb 10, 2016):
Thank you. I guess the extraction of the alt names is somehow only truncating the first ',' it finds.
No actually not. I'm using it on Ubuntu and Debian. May I ask why you were wondering?
@lukas2511 commented on GitHub (Feb 10, 2016):
@stonie08 i didn't write that part of the code, and roughly reading over it i found parts that looked like they might be incompatible with bsd sed, that's why i asked. will probably have to test with both bsd and gnu/linux.
@stonie08 commented on GitHub (Feb 11, 2016):
Thanks for the fast fix, works like a charm now.