我该如何解决此问题,我在YouTube上观看了许多解决方案,因此我竭尽所能!有什么解决办法吗?
此错误始终出现“根据验证过程,远程证书无效。”
这是我的代码:
Private Function ValidateServerCertificate(ByVal sender As Object, ByVal certificate As X509Certificate, ByVal chain As X509Chain, ByVal sslPolicyErrors__1 As SslPolicyErrors) As Boolean
Return sslPolicyErrors__1 = SslPolicyErrors.None
End Function