LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-07-2010, 04:38 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Should I Use Two SSL Certificates on The Same Server?


I have one physical dedicated server. The name of the server is 'mail.iamghost.tld' which is obviously my Postfix mail server for my users. Now I generated SSL self signed certificates with 'OpenSSL' which is for 'mail.iamghost.tld'. I also have Apache installed on the same server to access my webmail application. I created a pointer record for 'www.iamghost.tld' to point to the same static I.P. as 'mail.iamghost.tld'. So my question is if I also want to encrypt site login's for www.iamghost.tld/webmail, do I need to generate a unique SSL certificate for 'www.iamghost.tld' or can I use my existing SSL certificates that are assigned to 'mail.iamghost.tld'? It's the same server but when people browse to my 'www.iamghost.tld/webmail' site, I don't want there to be an issue with the certificates saying it's for 'mail.iamghost.tld' when they're really communicating with 'www.iamghost.tld'.

Thoughts and or suggestions?
 
Old 10-07-2010, 06:57 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Theres a couple of things that need clearing up here,
Quote:
Now I generated SSL self signed certificates
.. how were you intending to use these? email? web?

Quote:
I created a pointer record for 'www.iamghost.tld' to point to the same static I.P. as 'mail.iamghost.tld'.
- maybe you're just using the wrong terminology .. did you mean you created a CNAME record like:
Code:
www CNAME mail.iamghost.tld.
.. or did you really mean a PTR record (used for reverse lookup) ? :
Code:
<ip of mail>   IN PTR www.iamghost.tld.
 
1 members found this post helpful.
Old 10-07-2010, 07:06 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I originally generated the SSL certificates to use TLS for the SMTP & IMAP4. They certificates work great and add additional layer of security for all my email users. However now I have a Apache web server running on the same physical server which I use for a Wiki (logins required) and Webmail (logins required) & I have a CNAME for www to mail. I hope that clears up my gibberish above.

Thanks all!
 
Old 10-07-2010, 09:46 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If you're planning on running multiple services from the same physical box under different CNAME's it may be worth creating a wildcard cert -
*.iamghost.tld.

Besides the fact that these are self signed, the certs will need to match whatever the client is connecting to, even if it's a CNAME. So the answer is yes, you will need to obtain a cert for www.iamghost.tld.

cheers
 
1 members found this post helpful.
Old 10-08-2010, 07:30 AM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
OK thanks. So it's not un-common to have a wildcard certificate on a server running multiple services, right? I am just going to use *.iamghost.tld.
 
Old 10-08-2010, 08:04 PM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
They are common, you quite often see wildcard certs on load balancers
 
  


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
Can SSL Certificates be the same sleepyz Linux - Server 6 02-19-2010 10:52 AM
lighttpd + ssl: can't seem to update my server-side certificates Kropotkin Linux - Security 4 09-19-2009 07:32 AM
Wanting to transfer SSL certificates from IIS 6.0 to proxy server that is using Apach steffmark Linux - Newbie 1 03-29-2008 03:56 AM
SSL Certificates SBN Linux - Security 1 09-30-2006 03:29 AM
SSL Certificates ashiers Linux - Security 2 06-30-2006 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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