Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

SSL Bridging

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2000 General] >> Web Publishing >> SSL Bridging Page: [1]
Login
Message << Older Topic   Newer Topic >>
SSL Bridging - 17.May2001 6:28:00 PM   
cpriester

 

Posts: 4
Joined: 17.May2001
From: Alexandria, VA
Status: offline
I have several Web Publishing rules set up on my ISA Server which points to several IIS web servers.

When I set the ISA server to Redirect requests as HTTP, it works just fine. The client successfully negotiates the transaction with the ISA server and the pages serve.

But when I set the Redirect requests to SSL (to establish an SSL channel from the ISA Server to the IIS Server, I get "500 Internal Server Error - The target principal name is incorrect (-2146893022). The problem seems to lie with the creation of an SSL channel between the ISA Server and the IIS server.

The default IIS server security settings are currently applied, but this error seems to generate regardless of what I set on the Web server. No authentication mechanisms are in place on the listeners or the Website.

Please help!

Post #: 1
RE: SSL Bridging - 18.May2001 4:47:00 PM   
rg

 

Posts: 3
Joined: 18.May2001
From: hb,ca,usa
Status: offline
Not that this is much help but I receive the same error. What certificate do you use at the proxy for Incoming Requests? I have tried both an ISA server cert that I created and installed and the web servers which I exported (like I see everyone recommending) but this doesn't make a difference. Same error.

rg


(in reply to cpriester)
Post #: 2
RE: SSL Bridging - 18.May2001 8:25:00 PM   
cpriester

 

Posts: 4
Joined: 17.May2001
From: Alexandria, VA
Status: offline
I have found a solution!

Here is how it all works:

1. On your web server, request a certificate from your CA.

2. Export the certificate to a file, which you then transfer to your ISA box.

3. In the MMC, import the certificate from the website to the Personal certificate store on the LOCAL COMPUTER.

4. If your CA is NOT a trusted CA (if you are running your own CA and don't have a 'certificate authority certificate' installed from Verisign, et. al.) then you ALSO need to import the CA certificate into the Trusted Root certificate store on the LOCAL COMPUTER.

5. On your listener, enable "Use a server certificate to authenticate to web clients" and enter the EXACT NAME OF THE CERTIFICATE ISSUED TO THE WEB SERVER. If the names don't match, you will get the "target principal name does not match" error.

To find out the exact name of the certificate, 'Open' the certificate, go to the Details tab, and click on Subject. You should see a list of attributes of the certificate. The CN field will show you the exact name of the certificate.

6. Additionally, go to the Web Publishing Rule, on the Action tab, in the box marked "Redirect the request to this internal Web server". This box must ALSO match the EXACT NAME on the certificate, or you will get the "target principal name" error.

I have been playing with this thing for the last week, and I have finally gotten it to work!

I hope this helps everyone out there with their ISA/IIS/SSL problems....

Casey Priester


(in reply to cpriester)
Post #: 3
RE: SSL Bridging - 24.May2001 7:26:00 AM   
tshinder

 

Posts: 47659
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi Casey,

Excellent work! Those steps nicely describe how to get a trusted root certificate on the ISA Server and how to get a server certificate on the ISA Server too!

However, I've done the same things on several servers and get the same dreaded error periodically. However, if its working for you, don't change anything!

Good job!

Tom

------------------
Tom Shinder
http://www.isaserver.org/shinder/

Get It Here


(in reply to cpriester)
Post #: 4
RE: SSL Bridging - 27.May2001 6:24:00 PM   
cpriester

 

Posts: 4
Joined: 17.May2001
From: Alexandria, VA
Status: offline
Tom,

In the above situation, the cert I requested for my website matched the FQDN of the box on which the site was hosted (i.e. machine.domain.com).

Unfortunately, this also lets clients know the name of your box (it's in the certificate). I haven't tried this yet, but I believe the solution to that is to create a CNAME in your internal DNS table for that box, assign it an alias, then issue the cert to that alias to 'masquerade' the true name of that box.

Hope this helps,
Casey Priester


(in reply to cpriester)
Post #: 5

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2000 General] >> Web Publishing >> SSL Bridging Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts