I am trying to run Caddy without internet access so I would like to disable Let’s Encrypt support.
If my Caddyfile specifies localhost or an IP address Caddy seems to serve pages fine without using Let’s Encrypt. If I specify a hostname’s FQDN then it errors out.
The error is, "error creating client: get directory at ‘https://acme-v01.api.letsencrypt.org/directory’: failed to get … x509: certificate has expired or is not yet valid
How do I disable Let’s Encrypt so I can use Caddy without internet access?