mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Checking domain name of existing cert may fail #115
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 @jlesage on GitHub (Jun 27, 2016).
I have a scenario where, during server deployment, ${CERTDIR}/${domain}/cert.pem is pointing to a self-signed certificate. This is done to make sure applications won't complain about missing certificate if letsencrypt.sh didn't ran yet.
When running letsencrypt.sh in this scenario, the script fails because the existing certificate doesn't contains the string
DNS:.The problem is with the following line:
I guess that not finding the
DNS:string should not be considered as an error and should force a renew.@lukas2511 commented on GitHub (Jan 30, 2017):
Not going to fix this, if this is really necessary I suggest putting your certificate in fullchain.pem, as that is what you'd want to use later anyway and the script should work fine that way.