Well, I’ve never bought premium TLS certificates that cost an annual fee for issuing them. I always thought that if I subscribed to a premium one instead of using Let’s Encrypt, I’d get a single TLS certificate that works for the main domain and all subdomains (the wildcard).
But when using Caddy, no matter how I organize the Caddyfile, it always generates two TLS files, one for the main domain and another separate one for the wildcard.
So my questions are:
Do premium certificate providers also issue two TLS certificates?
Is this a limitation of Caddy?
Is this a limitation of Let’s Encrypt because it’s free?
*.example.com certificate does not cover example.com, so if you want example.com site as well, you need a cert for that. Usually, external CAs issue a certificate with both example.com and *.example.com in SAN field.
Does that mean it’s possible to have just one certificate for both example.com and *.example.com? And isn’t there a way to do the same with Let’s Encrypt+caddy?
ive been reading through and yeah caddys single san limit keeps things simple even if lets encrypt allows more. that protest cert story shows how messy acme can get with renewals and weak setups but automation like this avoids most of the pain Protest TLS certificate hides a message in its RSA public key its still a neat hack though.