1. The problem I’m having:
I tried visiting my site and it said it wasn’t secure.
So I tried restarting caddy and now its having problems getting certifications
2. Error messages and/or full log output:
2023/05/12 08:42:49.490 ERROR http.acme_client challenge failed {"identifier": "differencev2.luks.systems", "challenge_type": "http-01", "problem": {"type": "urn:ietf:params:acme:error:connection", "title": "", "detail": "84.22.102.241: Fetching http://differencev2.luks.systems/.well-known/acme-challenge/gsCs5lSV94sNC3bBvDoH1_vbwQ0nlLUjTg5kERWy1_Q: Connection refused", "instance": "", "subproblems": []}}
2023/05/12 08:42:49.491 ERROR http.acme_client validating authorization {"identifier": "differencev2.luks.systems", "problem": {"type": "urn:ietf:params:acme:error:connection", "title": "", "detail": "84.22.102.241: Fetching http://differencev2.luks.systems/.well-known/acme-challenge/gsCs5lSV94sNC3bBvDoH1_vbwQ0nlLUjTg5kERWy1_Q: Connection refused", "instance": "", "subproblems": []}, "order": "https://acme-v02.api.letsencrypt.org/acme/order/755427366/181685180597", "attempt": 1, "max_attempts": 3}
2023/05/12 08:47:31.350 ERROR tls.renew could not get certificate from issuer {"identifier": "differencev2.luks.systems", "issuer": "acme-v02.api.letsencrypt.org-directory", "error": "HTTP 400 urn:ietf:params:acme:error:connection - 84.22.102.241: Fetching http://differencev2.luks.systems/.well-known/acme-challenge/rOzM10mludRGi1OgVhp29hkzefldPkVcqT23eMJkCKE: Connection refused"}
(this is one of many)
3. Caddy version:
v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=
4. How I installed and ran Caddy:
Using the official documentation (Install — Caddy Documentation)
a. System environment:
Ubuntu 20.04
b. Command:
caddy start
c. Service/unit/compose file:
I dont know
d. My complete Caddy config:
masectechniek.nl {
reverse_proxy 127.0.0.1:12345
}
www.masectechniek.nl {
reverse_proxy 127.0.0.1:12345
}
differencev2.luks.systems {
reverse_proxy 127.0.0.1:9977
}