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

Reuse SSL certificate on different domain

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Fleuv
Posts: 18
Joined: Thu May 28, 2015 4:27 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Reuse SSL certificate on different domain
  • Quote

Post by Fleuv » Fri Jul 05, 2019 2:05 pm

Hello is it possible to reuse an SSL certificate on different domain (what the user owns)?

Scenario
After setting up the domain example.com it seems necessary to set up subdomain as well e.g. subdomain.example.com. During the setup of the root domain (example.com) you've already created and linked an SSL certificate to the domain, so this domain got SSL support enabled. However you would like to reuse the SSL certificate of the root domain for the subdomain. What is the easiest way to get this done, preferably in automated manner?

Assumed process for reusing a SSL certificate for another domain
  • Add symbolic links for the subdomain to the root domain's ssl.* files from the /home/%USER%/conf/web directory, e.g: ssl.subdomain.example.com.* -> ssl.example.com.*
  • Generate the SSL vhost for the subdomain and at it to the the /home/%USER%/conf/web directory.
  • Append the path to the new vhost to the main entry point for vhosts, for nginx this is the /etc/nginx/conf.d/vesta.conf file.
  • Restart/reload the webserver.
  • Update the record for the subdomain in the vesta database to enable SSL support for the domain.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Reuse SSL certificate on different domain
  • Quote

Post by grayfolk » Fri Jul 05, 2019 2:36 pm

SSL certificates assigned to domains, not to Vesta CP users - read https://www.verisign.com/en_US/website- ... ndex.xhtml. You can add domain alias to main domain and rebuild certificate.
Top


Post Reply
  • Print view

2 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