sslhttpsservicesvcutil.exe

Is there a way to force svcutil.exe to ignore SSL certificate issues?


I need svcutil.exe to generate a proxy class for me, but the problem is that the web service can be accessed only via HTTPS and the SSL certificate is self signed.

How can I force svcutil.exe to ignore this issue?


Solution

  • You could try browsing to the https site first, ignore the warning that the certificate is not trusted, then click on the certificate and install it.

    This should result in the machine you are working on trusting the certificate.

    Then try running svcutil again.