valb3r / letsencrypt-helper

Generates and keeps up-to-date your Spring Boot applications' Let's Encrypt or other ACME compliant SSL certificates. Pure Java in a single file of library code. An automated embedded alternative to Certbot and docker-sidecars. No JVM restart is needed on certificate update.
https://valb3r.github.io/letsencrypt-helper
MIT License
36 stars 4 forks source link

Doc request for Docker #26

Open objectorientedperson opened 11 months ago

objectorientedperson commented 11 months ago

Hi, thanks for the library. I am working with docker image and the readme is not enough to set it up for docker containers, as it gives errors all the time that connection is refused. Thanks in advance!

{
  "identifier": {
    "type": "dns",
    "value": "test.MYDOMAIN.com"
  },
  "status": "invalid",
  "expires": "2023-11-24T20:01:14Z",
  "challenges": [
    {
      "type": "http-01",
      "status": "invalid",
      "error": {
        "type": "urn:ietf:params:acme:error:connection",
        "detail": "165.227.94.87: Fetching http://test.MYDOMAIN.com/.well-known/acme-challenge/pJ1AeqaCnxtWCqPZEqkRMTjNct9pCGho1QnrYeKQl0o: Connection refused",
        "status": 400
      },
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/284808795676/Px-9Og",
      "token": "pJ1AeqaCnxtWCqPZEqkRMTjNct9pCGho1QnrYeKQl0o",
      "validationRecord": [
        {
          "url": "http://test.MYDOMAINcom/.well-known/acme-challenge/pJ1AeqaCnxtWCqPZEqkRMTjNct9pCGho1QnrYeKQl0o",
          "hostname": "test.MYDOMAINcom",
          "port": "80",
          "addressesResolved": [
            "165.227.94.87"
          ],
          "addressUsed": "165.227.94.87"
        }
      ],
      "validated": "2023-11-17T20:01:15Z"
    }
  ]
}
PAException commented 7 months ago

@objectorientedperson docker works fine for me..., may I see your configuration?