Caddy 0.11.0 (non-commercial use only)
With this Caddyfile:
proxy / 172.20.0.5:3030
But whenever I run caddy it ask me to agree on using let’s encrypt to generate the certificate. And whether I agree or not it fails to create the certificate.
The correct syntax for a self-signed certificate is
tls self_signed, with an underscore instead of the dash used in the Caddyfile you posted.
The other information that can can be specified this way is an email, so I expect Caddy interprets
self-signed as the email address you want to create an ACME account for (which would be invalid anyway).
Oh, this also explains why when I used a valid email using the command line it wasn’t being correctly taken.
That makes perfect sense, thanks for your help.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.