Closed fabianhauser closed 4 years ago
Note: I've migrated my personal servers to acmed which seems to work quite nicely so far (with a deamon, as opposed to cronjobs). If you're interested, I can share my Ansible setup.
Here's the actual error from journalctl -u studentenportal-dehydrated.service -e
:
Sep 15 00:00:56 vshsr01 docker[20939]: + Challenge validation has failed :(
Sep 15 00:00:56 vshsr01 docker[20939]: ERROR: Challenge is invalid! (returned: invalid) (result: {
Sep 15 00:00:56 vshsr01 docker[20939]: "type": "http-01",
Sep 15 00:00:56 vshsr01 docker[20939]: "status": "invalid",
Sep 15 00:00:56 vshsr01 docker[20939]: "error": {
Sep 15 00:00:56 vshsr01 docker[20939]: "type": "urn:ietf:params:acme:error:dns",
Sep 15 00:00:56 vshsr01 docker[20939]: "detail": "During secondary validation: DNS problem: networking error looking up CAA for studentenportal.ch",
Sep 15 00:00:56 vshsr01 docker[20939]: "status": 400
Sep 15 00:00:56 vshsr01 docker[20939]: },
[...]
I've only found this: Unable to obtain certificates in production mode (succesfull in staging) - Help - Let's Encrypt Community Support
The issue there (misconfigured nameservers) doesn't apply to us, but this still seems more of a DNS issue rather than an issue with dehydrated.
Is it related to the switch to the newer ACME protocol version? Is dehydrated up to date?
Is it related to the switch to the newer ACME protocol version?
I doubt it. If it was, I suppose we'd find more information about it, either in the Let's Encrypt forum or in the dehydrated issues.
From the thread and the error message, it sounds more like a DNS issue between Let's Encrypt's severs and nine. I have no idea what exactly, though... Maybe @thde or @lroellin have an idea what could be going on there?
Is dehydrated up to date?
Yes: Dockerfile, releases. Though there are quite some changes since then. Still, I don't believe this to be a dehydrated issue.
Hmm, since the renewal succeeded on the 16.08., the messages have stopped. While looking trough the logs, I notice various slightly different errors which seem to stem more from the let's encrypt network infrastructure or our DNS Servers (which is provided by nine...)
Closing this issue for the moment, as the error messages have stopped. If the error occurs again, we'd have to investigate further.
Heyo, feel free to mail support@nine.ch if the issues occurs again. I only look at my Github notifications rarely.
We currently get some error-mails from the dehydrated-TLS -service: