This might be a dumb question, but I just can't find the answer.
What I would like to do: I have a WCF service hosted by IIS. It works fine, I can access wsdl, I have a self-signed certificate for the server, etc. I would like to call this service with a WPF client.
The problem is that since I have a self-signed certificate, I get the following exception when calling the service: Failed to establish trust relationships for the SSL / TLS secure channel with the localhost authority.
If I access the site (or service) from the browser, this is not a problem, because the browser warns me about the certificate and gives me the opportunity to view the page in any case. But the WPF client just throws an exception.
I donβt want to completely disable the authentication process, I just wanted to give users the opportunity to ignore this warning (as browsers do).
Can anyone provide some code for this? If you came up with a good, detailed guide on this, it would also be awesome. (See, My problem with the tutorials I found is the lack of details)
iis-7 ssl-certificate wpf wcf
Tenshiko
source share