Caddyfile with TLS

Caddy is serving main domain normally with the below configs. 		    {
	proxy / { transparent }

Please advise on what kind of TLS certificate (wildcard type?)
If yes, trying to access results in ERR_SSL_PROTOCOL_ERROR

Please note that, the above configs works fine with subdomains.

That looks like a Caddy v1 config. Please upgrade to Caddy v2. Caddy v1 is now EOL (no longer maintained).

If you make a site block with only, Caddy will only issue a certificate for If you want a certificate for as well, then specify both, separated by a comma:

Caddy can issue wildcard certificates if you need it, but it involves extra work, i.e. enabling the ACME DNS challenge:

This topic was automatically closed after 30 days. New replies are no longer allowed.