You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using certbot-s3front to manage certificates for Amazon Load Balancers (ELBv2) and API Gateways. The problem is that renewal fails very often - possibly 50% of the time - but when renewal is retried a few times manually it usually succeeds. So the setup is not completely broken but renewal fails way too often than it should. In the logs we typically get an "Internal server error":
"challenges": [
{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "Invalid response from http://api.example.org/.well-known/acme-challenge/yIuGO1v8PvyHbrCPMNXnFzB0ZMzv0mC22QBFi3E52gk [a.b.c.d]: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody bgcolor=\\\"white\\\"\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\"",
"status": 403
},
These cause self-verification to fail:
2020-03-01 08:56:06,590:ERROR:certbot_s3front.authenticator:Self-verify of challenge failed, authorization abandoned!
The only thing I can think of is that sometimes the verification file is placed to and searched from a different place, which makes renewal work sometimes, but not consistently. As in "load balancer forwards traffic to the wrong place".
We use the following software, installed using pip3 on Ubuntu 18.04:
certbot (0.34.2)
certbot-s3front (0.4.2)
Is this is a known problem and is there something we can do about it?
The text was updated successfully, but these errors were encountered:
@mattock to be honest, this is the first I hear about it... do you have the load balancer and cloud front in line? Maybe you can try configuring the cloudfront endpoint to point directly to S3?
We're using certbot-s3front to manage certificates for Amazon Load Balancers (ELBv2) and API Gateways. The problem is that renewal fails very often - possibly 50% of the time - but when renewal is retried a few times manually it usually succeeds. So the setup is not completely broken but renewal fails way too often than it should. In the logs we typically get an "Internal server error":
Or we may get a "502 Bad Gateway":
These cause self-verification to fail:
The only thing I can think of is that sometimes the verification file is placed to and searched from a different place, which makes renewal work sometimes, but not consistently. As in "load balancer forwards traffic to the wrong place".
We use the following software, installed using pip3 on Ubuntu 18.04:
Is this is a known problem and is there something we can do about it?
The text was updated successfully, but these errors were encountered: