Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - HTTPS, WCF and SecurityNegotiationException

 
 
Old 03-22-2007   #1 (permalink)
Scott Holman


 
 

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


 
 

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


Similar Threads
Thread Forum
Re: New HTTPS Error Since SP1 Vista security
Vista and HTTPS Vista security
Rpc over Https problem Vista security


Vista Forums 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 Ltd

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