LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2009, 03:02 AM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Rep: Reputation: 15
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!
 
Old 01-01-2009, 04:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
Old 01-01-2009, 11:24 PM   #3
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Original Poster
Rep: Reputation: 15
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?
 
Old 01-02-2009, 03:31 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 1.3 and chained certs for SSL jakev383 Linux - Server 0 08-28-2008 12:03 PM
The Big Name consipracy - and SSL certs jantman General 15 02-15-2007 02:43 PM
LXer: Setting up an SSL server with Apache2 LXer Syndicated Linux News 0 02-12-2006 09:31 PM
multiple ssl certs, single apache server? hank43 Linux - Software 0 01-26-2005 04:56 PM
install 2 or more SSL certs on same machine with 1 IP lsimon4180 Linux - Software 0 10-22-2004 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration