SSL certificate for second domain

PaulMD

Verified User
Joined
Sep 18, 2016
Messages
16
For the installation of the first SSL certificate on a centos7/directadmin VPS there are a lot of tutorials and it's quite easy. But for installing an second SSL certificate on a second domain I cannot find a descent tutorial. Where do I start?

It's just for one domain, without sub domains.
The first domain already worked with copying the 3 files to the files below
cabundle.crt -> /etc/httpd/conf/ssl.crt/server.ca
certificate.crt -> /etc/httpd/conf/ssl.crt/server.crt
certificate.key -> /etc/httpd/conf/ssl.key/server.key
For directadmin (https://help.directadmin.com/item.php?id=15) and exim (https://help.directadmin.com/item.php?id=598) there are also good guides. But what do I do with the 3 files I got for the second domain? And where do I make a link to those files? Should I add a link to those 3 files from /etc/httpd/conf/extra/httpd-vhosts.conf or /usr/local/directadmin/data/users/admin/httpd.conf

And change for example
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
to
[quote
SSLCertificateFile /etc/httpd/conf/2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/2/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/2/ssl.crt/server.ca
[/quote]
?
 
Back
Top