I wanted to install an SSL certificate on my main server IP so my clients could use SSL connections to the mail server, didn't sound too tough....now I'm stuck. Everytime I try to install the CA Cert I just purchased following the notes here http://www.directadmin.com/technotes.html on the server main domain, it breaks httpd (I cannot restart). I've been at it for hours. On the tech notes it says
A little more info. I have created a single domain (example.com) for the user Admin. The CA Certificate is for example.com. Before I purchased the CA Cert I first tried a self-signed Cert and then the DA cert, the mail client I was using didn't like either cert (it would just disconnect when it saw an untrusted cert).
Does this mean I should edit the two files, inserting the new Key & Cert? When I try that, it fails. I thought it might mean to create new crt & key files with the new Key & Cert, so I tried that. That breaks httpd, too. Everything I do seems to break httpd...You should see 2 virtual host directives. With the one that says <VirtualHost <yourip>:443> you must modify the SSL tags.
Set:
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
and if provided with a CA certificate file ADD the following line
SSLCACertificateFile <full path to CA certificate>
A little more info. I have created a single domain (example.com) for the user Admin. The CA Certificate is for example.com. Before I purchased the CA Cert I first tried a self-signed Cert and then the DA cert, the mail client I was using didn't like either cert (it would just disconnect when it saw an untrusted cert).