Hi!
I have to create a SAN certificate for two different domains on Ubuntu 18.04, I don’t find any tutorial on the web for to do that, can you help me?
Thanks!
Mic
(certbot --version -> certbot 0.31.0)
Hi!
I have to create a SAN certificate for two different domains on Ubuntu 18.04, I don’t find any tutorial on the web for to do that, can you help me?
Thanks!
Mic
(certbot --version -> certbot 0.31.0)
Getting multiple names on a single cert is very easy.
With certbot
:
Instead of the single: -d one.domain
Use:
-d one.domain -d two.domain -d three.domain …
or
-d 'one.domain,two.domain,three.domain,…'
[LE certs will hold 100 SAN entries]
Thank you for your reply!
I think that this command is for a wilcard certificate and not for a san certificate, or not?
Mic
No.
Wildcard certs contain an “*”.
-d *.my.domain -d normal.domain -d *.other.wildcard -d not.wild.domain
They can be combined in the same cert.
But be careful as they don’t validate the same - wildcard certs require DNS authentication.
Oh!
Thank you very much, this is very helpful!
Mic
FYI:
All (LE) certs have a SAN field and entry.
Even the ones for a single name.
For those, the CN and the SAN fields/entries would both just be “single.name”
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.