Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

HTTPS, WCF and SecurityNegotiationException

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 03-22-2007   #1 (permalink)
Scott Holman
Guest


 

HTTPS, WCF and SecurityNegotiationException

My WCF service uses TransportWithMessageCredential security. I would like
to be able to connect to my web services using the following URLS
https://localhost/MyService/service.svc
https://testmachine/MyService/service.svc
https://testmachine.us.somedomain.in...ce/service.svc

The SSL certificate subject name is 'testmachine'. Is there some way to
configure IIS or the WCF service so that the client could use any of these
URLS without encountering the SecurityNegotiationException:

Could not establish trust relationship for the SSL/TLS secure channel with
authority 'localhost'
Could not establish trust relationship for the SSL/TLS secure channel with
authority 'testmachine.us.somedomain.int'

Thanks




My System SpecsSystem Spec
Old 04-10-2007   #2 (permalink)
Dwight@QuickLearn
Guest


 

RE: HTTPS, WCF and SecurityNegotiationException

I'm Not sure here how you have obtained your certs, however have you tried
installing the certificate using localhost as the CN, and
testmachine.us.somedomain.int, as the CN. This would mean creating a Trusted
CA cert with Testmachine, and then creating a chaining certs with localhost,
and testmachine.us.somedomain.int that chain their trust back up to the CA
testmachine cert?


Just a wild guess, but it should work.

"Scott Holman" wrote:

> My WCF service uses TransportWithMessageCredential security. I would like
> to be able to connect to my web services using the following URLS
> https://localhost/MyService/service.svc
> https://testmachine/MyService/service.svc
> https://testmachine.us.somedomain.in...ce/service.svc
>
> The SSL certificate subject name is 'testmachine'. Is there some way to
> configure IIS or the WCF service so that the client could use any of these
> URLS without encountering the SecurityNegotiationException:
>
> Could not establish trust relationship for the SSL/TLS secure channel with
> authority 'localhost'
> Could not establish trust relationship for the SSL/TLS secure channel with
> authority 'testmachine.us.somedomain.int'
>
> Thanks
>
>
>
>

My System SpecsSystem Spec
 

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: New HTTPS Error Since SP1 PA Bear [MS MVP] Vista security 1 03-25-2008 05:15 AM
Vista and HTTPS =?Utf-8?B?SWduYWNpbw==?= Vista security 2 09-26-2006 11:24 AM
HTTPS & FTP fail on IE/Vista RC1 Martin Robins Vista General 9 09-13-2006 04:37 PM
Rpc over Https problem Angel Taravilla Vista security 1 08-31-2006 11:10 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51