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

时光毁灭记忆、已成空白 提交于 2019-12-05 12:19:35

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.

One thing that seemed to work was to fire up Fiddler and have it running as you make the SVCUTIL requests. Fiddler's cert is valid and seems to work fine.

+1 for using fiddler. You just need to go to the TOOLS > Fiddler Options and check Decrypt HTTPS.

Browse to the https site, ignore the warning, save the wsdl, and generate the client class directly from the wsdl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!