LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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: 94

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
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,897

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
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: 94

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
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,897

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 10:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration