简体   繁体   English

根据SSL Restful Service的验证过程,远程证书无效

[英]The remote certificate is invalid according to the validation procedure from SSL Restful Service

I am receiving the error message, "the remote certificate is invalid according to the validation procedure", when I try to make a request. 尝试提出请求时,我收到错误消息“根据验证过程,远程证书无效”。 The service is being served on a Weblogic server. 该服务在Weblogic服务器上提供。 I have a certificate issued by the same CA and I have the root certificate plus chain along with the server's certificate. 我有一个由同一CA颁发的证书,并且我具有根证书以及服务器的证书以及链。

Before I make the request, I call ServicePointManager.ServerCertificateValidationCallback and then I add the client certificate to the request. 在发出请求之前,我先调用ServicePointManager.ServerCertificateValidationCallback,然后将客户端证书添加到请求中。 This all works but goes wrong when I try to make my request in my winform application. 这一切都有效,但是当我尝试在Winform应用程序中提出请求时出错。 However, as a check, I have typed the url into the browser and it works. 但是,作为检查,我已经在浏览器中输入了网址,并且可以正常工作。 So,I am confused as to why I should get this error, when one the certificate has been checked, the server certificate has been validated and the client has been added to the request. 因此,对于为什么要得到此错误,我感到困惑,当检查了一个证书,服务器证书已经通过验证并将客户端添加到请求中时。

Can someone please help me? 有人可以帮帮我吗?

Found the problem! 发现了问题! The issue was due to the server certificate being issued with the incorrect distinguished name 该问题是由于使用不正确的专有名称颁发的服务器证书

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SSL证书问题 - 根据验证程序,远程证书无效 - SSL Certificate Issue - The remote certificate is invalid according to the validation procedure “根据验证程序,远程证书无效” wcf - “The remote certificate is invalid according to the validation procedure” wcf AuthenticateAsServer - 根据验证过程,远程证书无效 - AuthenticateAsServer - The remote certificate is invalid according to the validation procedure FluentFTP:根据验证程序远程证书无效 - FluentFTP: The remote certificate is invalid according to the validation procedure 通过C#驱动程序的MongoDB ssl:根据验证过程,远程证书无效 - MongoDB ssl via C# driver: The remote certificate is invalid according to the validation procedure 根据使用自签名证书的验证程序,远程证书无效 - The remote certificate is invalid according to the validation procedure with self-signed certificate 对wcf服务发出https请求:根据验证程序,远程证书无效 - make https request to wcf service: The remote certificate is invalid according to the validation procedure 根据使用imap的验证程序,远程证书无效 - the remote certificate is invalid according to the validation procedure using imap TCP客户端C#:根据验证过程,远程证书无效 - TCP Client C#: The remote certificate is invalid according to the validation procedure Microsoft GraphServiceClient 返回“根据验证程序远程证书无效” - Microsoft GraphServiceClient returns "remote certificate is invalid according to the validation procedure"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM