Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

SSL Certificates with multiple domains Topic is solved

General questions about VestaCP
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
LouisIsMyDog
Posts: 6
Joined: Sat Nov 05, 2016 10:27 pm

SSL Certificates with multiple domains
  • Quote

Post by LouisIsMyDog » Sat Feb 10, 2018 9:56 pm

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
Top

Mikorus
Posts: 1
Joined: Sun Feb 11, 2018 8:59 pm

Os: Debian 7x
Web: apache + nginx
Re: SSL Certificates with multiple domains
  • Quote

Post by Mikorus » Sun Feb 11, 2018 9:04 pm

usualy all domains can be specified during ceritficate generation
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: SSL Certificates with multiple domains
  • Quote

Post by skurudo » Mon Feb 12, 2018 10:13 am

Why not to use Let's Encrypt? One domain (2-nd or 3-rd level) = one certificate.
Top

LouisIsMyDog
Posts: 6
Joined: Sat Nov 05, 2016 10:27 pm

Re: SSL Certificates with multiple domains
  • Quote

Post by LouisIsMyDog » Mon Feb 12, 2018 4:07 pm

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?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: SSL Certificates with multiple domains
  • Quote

Post by tjebbeke » Tue Feb 13, 2018 1:28 pm

LouisIsMyDog wrote: ↑
Mon Feb 12, 2018 4:07 pm
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?
You can add multiple domains with extra -d parameters. But why not using the let's encrypt integration in vesta cp itself?
Top

LouisIsMyDog
Posts: 6
Joined: Sat Nov 05, 2016 10:27 pm

Re: SSL Certificates with multiple domains
  • Quote

Post by LouisIsMyDog » Tue Feb 13, 2018 2:03 pm

Thanks tjebbeke, the -d parameter worked for me. My gui wasnt working.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: SSL Certificates with multiple domains
  • Quote

Post by skurudo » Wed Feb 14, 2018 6:25 am

LouisIsMyDog wrote: ↑
Mon Feb 12, 2018 4:07 pm
Hi skurudo, could you elaborate with "One domain (2-nd or 3-rd level) = one certificate".
domain.com - 2 level
www.domain.com or a.domain.com - 3 level
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password