Tls self_signed - Windows 7 x64 - Caddy 0.11.5


(Magikstm) #1

I added this line to my caddyfile for a local development caddy server:

tls self_signed

Complete caddyfile is:

:2021 {
root C:\sites\1
log “” access2019.log “{remote} | {>User-Agent} | {user} | {when} | {method} | {uri} | {proto} | {status} | {size} | {latency_ms}”

gzip
on startup php_cgi2.bat &
fastcgi / 127.0.0.1:6545 php
tls self_signed
}

I get this error:

2019/03/04 19:39:27 self-signed: certificate has no names

Is the documentation current on this feature?

ref: https://caddyserver.com/docs/tls


(Magikstm) #2

It works in Caddy 0.11.1, but it doesn’t work in Caddy 0.11.3.

I’ll review changes between these versions further.


(Magikstm) #3

I created this issue for it: https://github.com/mholt/caddy/issues/2502


(Toby Allen) #4

This should be fixed by @abiosoft here https://github.com/mholt/caddy/pull/2511