SSL Certificates with multiple domains Topic is solved
-
- Posts: 6
- Joined: Sat Nov 05, 2016 10:27 pm
SSL Certificates with multiple domains
I have a general question of ssl certificates. I have several domains running on Vesta CP. Lets say I have 7 websites. My name website with domain abc.com is also my hostname. Now when I create a certificate I register the hostname abc.com. In turn this makes the certificate unusable for my other domains. What is the best way to attach an SSL certificate for each domain? What am I doing wrong?
-Thank you guys in advance
-Thank you guys in advance
Re: SSL Certificates with multiple domains
usualy all domains can be specified during ceritficate generation
Re: SSL Certificates with multiple domains
Why not to use Let's Encrypt? One domain (2-nd or 3-rd level) = one certificate.
-
- Posts: 6
- Joined: Sat Nov 05, 2016 10:27 pm
Re: SSL Certificates with multiple domains
Hi skurudo, could you elaborate with "One domain (2-nd or 3-rd level) = one certificate".
The way I generate my certificate is as follows:
"./letsencrypt-auto certonly --renew-by-default --webroot -w /home/admin/web/[YOUR-HOSTNAME]/public_html -d [YOUR-HOSTNAME]"
How would I add more than 1 domain?
The way I generate my certificate is as follows:
"./letsencrypt-auto certonly --renew-by-default --webroot -w /home/admin/web/[YOUR-HOSTNAME]/public_html -d [YOUR-HOSTNAME]"
How would I add more than 1 domain?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: SSL Certificates with multiple domains
You can add multiple domains with extra -d parameters. But why not using the let's encrypt integration in vesta cp itself?LouisIsMyDog wrote: ↑Mon Feb 12, 2018 4:07 pmHi skurudo, could you elaborate with "One domain (2-nd or 3-rd level) = one certificate".
The way I generate my certificate is as follows:
"./letsencrypt-auto certonly --renew-by-default --webroot -w /home/admin/web/[YOUR-HOSTNAME]/public_html -d [YOUR-HOSTNAME]"
How would I add more than 1 domain?
-
- Posts: 6
- Joined: Sat Nov 05, 2016 10:27 pm
Re: SSL Certificates with multiple domains
Thanks tjebbeke, the -d parameter worked for me. My gui wasnt working.
Re: SSL Certificates with multiple domains
domain.com - 2 levelLouisIsMyDog wrote: ↑Mon Feb 12, 2018 4:07 pmHi skurudo, could you elaborate with "One domain (2-nd or 3-rd level) = one certificate".
www.domain.com or a.domain.com - 3 level