C# Ignore certificate errors?

后端 未结 11 1158
鱼传尺愫
鱼传尺愫 2020-11-22 15:01

I am getting the following error during a web service request to a remote web service:

Could not establish trust relationship for the SSL/TLS secure c

11条回答
  •  爱一瞬间的悲伤
    2020-11-22 15:45

    Old, but still helps...

    Another great way of achieving the same behavior is through configuration file (web.config)

     
        
          
        
      
    

    NOTE: tested on .net full.

提交回复
热议问题