-   Linux - Newbie (
-   -   Installing SSL Certs on Server with Apache2 over CentOS (

Arty Ziff 01-01-2009 04: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 05: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.


Arty Ziff 01-02-2009 12:24 AM

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 04: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 01:11 PM.