logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: target principal name is incorrect
Author
holziusa



Joined: 02 Jan 2008
Posts: 48

PostPosted: Tue 10 Apr '12 15:57    Post subject: target principal name is incorrect Reply with quote

using startssl free service i get this

outlook 2007

principal names are displayed i.e.

user.mail.com
mail.com

i need it to be:

mail.com
user.mail.com

"Outlook 2007 reads only the first DNS name"

ref "http://blogs.technet.com/b/sbs/archive/2008/10/17/you-receive-a-target-principal-name-is-incorrect-certificate-error-in-outlook-2007-when-connecting-to-either-pop3-or-imap4-on-sbs-2008.aspx"

this is exactly whats happening included reference

any thoughts

thanks inadvance
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 10 Apr '12 22:54    Post subject: Reply with quote

That is the order how are your hosts are loaded.

Put that mail.com as the first SSL vhost. You can check that order on the command line with httpd -S
Back to top
holziusa



Joined: 02 Jan 2008
Posts: 48

PostPosted: Wed 11 Apr '12 4:11    Post subject: 1st and primary Reply with quote

thats what i got
but startssl but them in the wrong order noyt heard from them yet
and yes
i registered mail.com first with them
then
user.mail.com as a second

but when I check the ssl.crt the order listed there
is

user.mail.com
mail.com

go figure
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 11 Apr '12 20:45    Post subject: Reply with quote

With the vhosts order make sure that the vhost with mail.com is the first one.

Code:
<VirtualHost *:443>
    ServerName mail.com
   ....
</VirtualHost>
<VirtualHost *:443>
    ServerName user.mail.com
   ....
</VirtualHost>
Back to top


Reply to topic   Topic: target principal name is incorrect View previous topic :: View next topic
Post new topic   Forum Index -> Other Software