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?
jlw011597Asked:
Who is Participating?
 
armeenCommented:
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
 
armeenCommented:
i object
0
 
jlw011597Author Commented:
So, I post a query for 250 points and NOBODY can tell me anything except it can't be done?

Arrrgghhhh......
0
 
armeenCommented:
do you want us to lie?
0
 
jlw011597Author Commented:
No, I just don't like "paying" for a non-solution ;-(
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.