How to disable TLS


I want to fully disable TLS. Caddy appears to be ignoring the “tls off” directive.

Here’s a minimal Caddyfile (this is the whole thing), with a FQDN. This is not an externally reachable host, but the domain resolves on my intranet DNS:

tls off

When I run this, Caddy ignores the directive disabling TLS and attempts to provision a cert for the site:

704)~/tmp % ./caddy
Activating privacy features…
Your sites will be served over HTTPS automatically using Let’s Encrypt.
By continuing, you agree to the Let’s Encrypt Subscriber Agreement at:
Please enter your email address so you can recover your account if needed.
You can leave it blank, but you’ll lose the ability to recover your account.
Email address: ^C%

Why? How do I force Caddy to not use TLS?


:thinking: What version of Caddy are you using? Are you sure you’re on the latest version?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.