Problems testing domain locally with TLS self_signed and hosts file modification

I’m trying to test a domain name locally on 0.9 beta 2 over https. To do that I added “” to the hosts file (on windows).
The caddy conf is {
    tls self_signed

caddy starts up but my browsers are giving me ERR_SSL_PROTOCOL_ERROR(Chrome) or “SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG” (Firefox) when I try to open

Any pointers how to achieve that? Is it possible at all?


Hi Martin, thanks for your question!

Hm, self_signed works here, but I’m on a Mac. Any more information you can give us to reproduce the error?

Better yet, if you think this is a bug, please open an issue on GitHub following the template there.

filed it here: #912
Tested it on another windows machine: same error. Tested it on ubuntu: works fine. So it does seem to be windows related issue.


1 Like


Please excuse me while I go boot up a Windows VM. :unamused:


(Edit: Discussion continued in issue on GitHub.)

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