CentOS 6.6
Apache 2.2.15
Plesk Onyx 17.0.17
OpenSSL 1.0.1e-fips
certbot-auto 0.13.0
I’m having trouble adding certificates to my domain.
Basically, I have one primary domain (let’s call it exampleA.com) with its own wildcard certificate (not a Let’s Encrypt cert – several subdomains fall under this domain). I also have a few other domains on the same server, set up in separate directories under the same webspace in Plesk.
I was able to sucessfully generate a cert for one of them (exampleB.com), but any time I try to add it to the vhost’s conf file to use, it takes down all the sites on my server.
Added to /var/www/vhosts/system/exampleB.com/conf/vhost_ssl.conf
:
SSLCertificateFile /etc/letsencrypt/live/exampleB.com/cert.pem
SSLCertificateChainFile /etc/letsencrypt/live/exampleB.com/chain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/exampleB.com/privkey.pem
In /var/www/vhosts/system/exampleB.com/conf/httpd.conf
, within <VirtualHost ip.address:443 >
before and before vhost_ssl.conf
gets included, this appears:
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-75qf7l
SSLCACertificateFile /usr/local/psa/var/certificates/cert-cmY2El
I cannot edit httpd.conf
directly, because it generated automatically. I had assumed my edits in vhost_ssl.conf
would override these settings, and would only affect exampleB.com – but anytime I save my changes, all domains on my server go offline.
First time trying to set this up, and I’m far from an expert in server admin. Am I going about this wrong?