I have multiple (sub)domains that I use certificates for, and I have two servers that I distributed these domains over. Each of them uses LetsEncrypt certificates, which are generated and renewed by the dehydrated tool.
Now I want to move one of the certificates from one server to the other so that it still works with dehydrated/certbot.
I’ve already been able to move the certificate itself so that the site itself works.
If I try to renew the certificate with dehydrated now, I get an error:
ERROR: Challenge is invalid! (returned: invalid) (result: {
…
“type”: “urn:ietf:params:acme:error:unauthorized”,
I have looked for documentation, but they all suggest moving over the complete dehydrated folder with account keys over to the other server. That does not work in this case, since I have two separate dehydrated installs, with different keys.