How to apply for bare domain and wildcard domain certificate in one certificate?

Hello there,

Does Caddy support such a configuration?
I tried to put them together, but it seems that they still apply for their own certificates.

example.com, *.example.com {
    tls {
        dns cloudflare
    }
}
1 Like

Caddy does not support multi-SAN certificates.

The reasons are documented here:

3 Likes

To clarify, it does support them, but it does not automate them for you. You can provide your own certificates that have multiple SANs and it will work fine, but when generating and renewing certificates for you, Caddy does one subject per certificate.

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