TLS and SAN (Subject Alternative Name)


(Aleks) #1

I use the latest caddy and have tested the site with https://www.ssllabs.com/ssltest.

The output looks very good with the caddy default settings but one line isn’t what I like.

Alternative names static.MYDOMAIN.com MISMATCH

I haven’t seen any information about SAN in the doc https://caddyserver.com/docs/tls .
How can I tell caddy that he should add the SAN into the certifiacte like the common name?


(Aleks) #2

Looks like old certificates which was created with certbot manually don’t have the SAN.
New generated one with caddy have this SAN.