I am an application using a web service. Previously it was running on a nonSSL port. I changed the server to run on a SSL port. But, I now get the following exception on client-side.
Can you provide any more details about the exception (like a full stack trace) or the SSL-configuration (e.g. whether a client-side certificate should be used)?
Ok. I'm quite confident that the problem is that your web server is using a "test" SSL certificate that is self-signed and not signed by a "trusted" certificate authority such as Verisign. If this is the case, there's two ways to solve it: 1) Buy a real certificate from Verisign 2) Import the server's self-signed certificate into your client's trusted certificate store in order to make it trusted by your client code. I'd recommend turning to our Security forum for details on how to do these.