Trying to configure a self-signed certificate for our intranet website. The certificate itself shows that it is "good", but when you try to call a method from a web service, it gives an error, and when you add a web link, it gives a warning.
Here are the steps and some screenshots so that I can provide accurate information.
Windows 2003 server. IIS. Website - "WebServices.companyName.vmc"

Here is the site header for the site

From the server, it shows that the certificate is "ok".

Here are some site settings

Now in visual studio 2008 by adding a web link

Clicking Yes on the popup

Pressing "No" for this popup several times in a row.

After running a line of code that calls a web service ... I get this error
The connected connection was closed: Failed to establish a relationship trust for the secure SSL / TLS channel.
And when the webservice site is in the browser, blocking the small panel by the URL bar contains the following message:

Here is my existing code:
Dim mySvc As New WebServices.InstantAccount mySvc.calledFunction()
EDIT
For those who have a similar problem, read both iamkrillin's answer and my answer ... since they are both two different ways to solve the problem ... depending on which part you can control (code or certificate).
adam
source share