In /etc/ssl/caddy/fokin-ec-bundle.pem I have my domain cert + intermediate + root from top to bottom,
In /etc/ssl/caddy/fokin-ec-key.pem I have the private key.
Server OS - Ubuntu 16.04 LTS
Caddy restarts after adding the code above, but neither port 80 nor 443 is working. Netstat shows that port 2015 is bound to Caddy.
When I specify tls my@email.address (to get a Lets Encrypt certificate), everything is fine.
So I am wondering maybe I am missing something in my Caddyfile config.
Yeah, I have encountered the same issue with my own SSL certificate. As workaround, you can forcing the real HTTPS port by adding :443 on your conf block.
Thank you! Yeah, it worked. Wondering if this is really a workaround or a “correct” configuration as per design. If it is the latter one, then it should be documented.