我正在尝试通过在调用HTPPS服务时传递以下错误。我的发送端口是32位BizTalk主机。
I am trying to by pass following error while calling a HTPPS service . My Send port is uing 32 bit BizTalk host.
错误:
System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.我对BizTalk配置文件进行了以下更改(32位)。阅读 this 博客文章。阅读 此MSDN主题
I have made following changes to BizTalk config file (32 bit). after reading on this blog post. Also after reading this MSDN thread
<system> <settings> <servicePointManager checkCertificateName="false" checkCertificateRevocationList="false"/> </settings> </system>我们已经要求供应商发布/使用正确的证书但是我们有时间了想要在发送端口上绕过此错误消息/失败。
we have already asked the vendor to publish/use the correct certificates however for time we want to bypass this error message/failure on send port.
如果我在发送端口上使用fiddler作为代理,则通信正常工作而不会出现任何错误。 此外,如果我打电话给供应商的服务起诉邮件的人它工作正常。
If I use fiddler as a proxy on the send port, then the communication works properly without any error. Also if I call the vendor's service suing post man it works fine.
此外,我已经尝试在所有商店中导入错误的证书,但显然它不起作用,因为证书是不对。
Also I have already tried importing the incorrect certificate in all the stores but obviously it is not working because the certificate is not right.
任何输入都将受到赞赏。谢谢
Any inputs will be appreciated. Thanks
干杯,HTH
Naushad Alam alamnaushad.wordpress/
Naushad Alam alamnaushad.wordpress/
当您看到答案和有用的帖子时,请点击投票为 有用,建议为答案,和/或标记为答案
When you see answers and helpful posts, please click Vote As Helpful , Propose As Answer , and/or Mark As Answer
推荐答案
嗨Nausad,
Hi Nausad ,
IE上是否配置了代理?
Is there any proxy configured on the IE ?
如果请求可以通过fiddler代理然后我认为某处网络代理设置(防火墙)可能阻止请求。如果fiddler登录我们在发送端口上没有fiddler代理。
If the request can go through fiddler proxy then i think somewhere network proxy setting (firewall )might be blocking the request. What about fiddler logs in we dont have fiddler proxy on the send port .
我正在查看一个论坛回复
There is one forum reply which i was looking at
social.technet.microsoft/Forums/en-US/f98ae82d-32a2-4cfe-bedd-29442419578d/the-remote-certificate-is-invalid-according-to-验证程序?forum = biztalkgeneral
谢谢
Abhishek
更多推荐
BizTalk忽略证书错误
发布评论