Link to home
Start Free TrialLog in
Avatar of jlw011597
jlw011597Flag for United States of America

asked on

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

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?
ASKER CERTIFIED SOLUTION
Avatar of armeen
armeen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of armeen
armeen

i object
Avatar of jlw011597

ASKER

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

Arrrgghhhh......
do you want us to lie?
No, I just don't like "paying" for a non-solution ;-(