LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing SSL Certs on Server with Apache2 over CentOS (https://www.linuxquestions.org/questions/linux-newbie-8/installing-ssl-certs-on-server-with-apache2-over-centos-694207/)

Arty Ziff 01-01-2009 03:02 AM

Installing SSL Certs on Server with Apache2 over CentOS
 
I'm looking for a tutorial on how to install SSL certs on a server running Apache2 over CentOS with virtual domains? Obviously (well, maybe not?) the cert is for one domain only, though other domains on the same server may eventually have certs as well.

I only recently figured out how to get HTTPS working (I'm a noob, you see), so installing a cert seems like the next step in this educational process...

As I said, this is a server running several virtual domains - one IP at the moment (though I don't share it with anyone else, it's all mine).

Any advice on tutorials or *readable* tech articles on the subject?

- Thanks!

bathory 01-01-2009 04:05 AM

You can use this tutorial to setup a ssl virtual host. Just make sure that the "Common Name" you use at the certificate creation matches your virtual server name, to avoid warnings about certificate mismatches.

Regards

Arty Ziff 01-01-2009 11:24 PM

I see that this tutorial involves self signed certs. But how does one install a cert from one of the services such as VariSign or GoDaddy?

bathory 01-02-2009 03:31 AM

If you have bought a commercial certificate, then you should use SSLCertificateFile with that certificate and SSLCertificateKeyFile with the key used when you made the certificate request.


All times are GMT -5. The time now is 09:15 PM.