Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 501
Piotr Owsiak Avatar asked Dec 04 '22 14:12

Piotr Owsiak


2 Answers

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.

like image 145
Chad Avatar answered Dec 12 '22 05:12

Chad


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

like image 22
MattPII Avatar answered Dec 12 '22 04:12

MattPII