![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| 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 | |||