mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Validating this certificate is not possible using dns-01. Possible validation methods are: http-01 #464
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 @it-can on GitHub (Mar 11, 2020).
I have a certificate requested through http-01, but want to convert it to dns-01 (wildcard). Dehydrated/letsencrypt gives me this error:
Other wildcard domains are working on my system... is there something I am missing?
@txr13 commented on GitHub (Mar 11, 2020):
Are you using the
--forceoption on your renewal?If you have already authorized a domain (and the authorization is still valid), then you are not allowed to change the validation method. (See https://github.com/win-acme/win-acme/issues/1399#issuecomment-587485998)
You could wait until the authorization expires (for Let's Encrypt, this will take 30 days), or you might try forcing the renewal, which I think will force a new authorization, which would allow your choice of validation type.
@it-can commented on GitHub (Mar 11, 2020):
Yeah force is also giving same result. Maybe revoke the cert first?
@txr13 commented on GitHub (Mar 11, 2020):
I don't think revoking it is going to be a good idea--that would revoke the certificate, not the authorization...
@lukas2511 This might require a look?
@jobe1986 commented on GitHub (Mar 11, 2020):
Given that authorisations are attached to accounts, although it may not be an ideal solution, you could try deleting the existing account data, and creating a new account with ./dehydrated --register and then proceeding from there.
@it-can commented on GitHub (Mar 11, 2020):
I added a new unused domain to my dehydrated setup with wildcard. In the certs directory I added a config file with this:
dehydrated/certs/example_nl/rsa/config
My domains.txt is this
But when running dehydrated I get this error:
@txr13 commented on GitHub (Mar 11, 2020):
@it-can That looks like an error in your hook script, to me. Which should probably be handled as a separate issue.
@it-can commented on GitHub (Mar 11, 2020):
maybe you're right... I'll the my dns script
@it-can commented on GitHub (Mar 11, 2020):
my dns script had a bug... maybe my dns problem is now also fixed
@it-can commented on GitHub (Mar 11, 2020):
my dns problem is also fixed now....