Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Apache and Certificates...  Mulitple DNS names on same DNS-tied certificate?

Posted on 2005-04-08
6
Medium Priority
?
194 Views
Last Modified: 2010-03-04
Let's say I have a certificate with CN=work.libraries.xxx.edu and am going to use it in an SSL-
enabled Apache 1.3.33 server.

I WANT to be able to have in my configuration:

<VirtualHost work.libraries.xxx.edu:443>
   ServerName work.libraries.xxx.edu
   ServerAlias app1.libraries.xxx.edu
   ServerAlias app2.libraries.xxx.edu
   UseCanonicalName off
        ....
   ScriptAlias /app1/ "/programs/app1/application"

   <Directory "/programs/app1/application">
    RequireSSL
          ...
   </Directory>
        ....
   ScriptAlias /app2/ "/programs/app2/application"

   <Directory "/programs/app2/application">
    RequireSSL
          ...
   </Directory>


And then successfully have users access these as:

    https://app1.libraries.xxx.edu/app1/

 and

    https://app2.libraries.xxx.edu/app2/

That is, use the SAME certificate for both logical DNS names while the DNS name on the
certificate doesn't match either of the logical DNS names.

Is this legal, possible, and is this the way I'd accomplish it?
0
Comment
Question by:jlw011597
  • 3
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
armeen earned 750 total points
ID: 13862598
if the CN doesn't match the host the client browses to then you will get a prompt on the client saying that the certificate is invalid.
0
 
LVL 4

Expert Comment

by:armeen
ID: 13952095
i object
0
 

Author Comment

by:jlw011597
ID: 13959707
So, I post a query for 250 points and NOBODY can tell me anything except it can't be done?

Arrrgghhhh......
0
 
LVL 4

Expert Comment

by:armeen
ID: 13959927
do you want us to lie?
0
 

Author Comment

by:jlw011597
ID: 13959954
No, I just don't like "paying" for a non-solution ;-(
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Loops Section Overview
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question