Caddy 0.11.5 (non-commercial use only)
Run:
/usr/local/bin/caddy -agree -log /var/log/caddy/caddy.log \
-email peter@passchier.net -conf /etc/caddy/Caddyfile -root /var/www/none \
-disabled-metrics all -pidfile /var/run/caddy.pid &
a. System environment:
Ubuntu 16.04.6 LTS
b. Command:
See above
d. My complete Caddyfile or JSON config:
(log) {
tls peter@passchier.net
gzip
errors /var/log/caddy/error.log
log /var/log/caddy/access.log
}
(php) {
import log
fastcgi / /var/run/php/php7.0-fpm.sock php
}
kelly.passchier.net {
import php
root /var/www/site/
}
giving.passchier.net {
import php
root /var/www/give/
}
3. The problem I’m having:
Let’s Encrypt certificates can’t seem to renew…
4. Error messages and/or full log output:
2020/07/28 19:11:23 [ERROR] Renewing [kelly.passchier.net]: acme: error: 429 ::
POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:a
cme:error:rateLimited :: Error creating new order :: too many failed authorizati
ons recently: see https://letsencrypt.org/docs/rate-limits/, url: ; trying again
in 10s
2020/07/28 19:11:33 [ERROR] too many renewal attempts; last error: acme: error:
429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:p
arams:acme:error:rateLimited :: Error creating new order :: too many failed auth
orizations recently: see https://letsencrypt.org/docs/rate-limits/, url:
2020/07/28 19:11:33 [INFO] Certificate for [giving.passchier.net] expires in 452
h23m51.800834969s; attempting renewal
2020/07/28 19:11:38 [ERROR] Renewing [giving.passchier.net]: acme: Error -> One
or more domains had a problem:
[giving.passchier.net] acme: error: 403 :: urn:ietf:params:acme:error:unauthoriz
ed :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge, url
:
; trying again in 10s
(etc. for all domainnames)
5. What I already tried:
No idea what I should try… I thought caddy is just supposed to auto-renew these. Is there something I can add to the Caddyfile to use a different method perhaps?