AS2接收证书错误 [英] AS2 Receive Certificate Error

查看:234
本文介绍了AS2接收证书错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从贸易伙伴处接收AS2文件传输。 我收到以下错误:


AS2解码器在处理过程中遇到异常。

验证AS2消息时出错。 确保使用的证书没有超时或被撤销。


我的证书是自签名的,并存储在主机用户个人存储中,带有密钥。

贸易伙伴证书是自签名的,存储在Machine / Other People商店和Machine / Trusted Root商店中。


我已经从另一台模拟不同贸易伙伴的机器测试了相同的接收端口 当我从测试贸易伙伴发送测试消息时,我没有收到解码器错误。


我还编写了一个自定义aspx页面来捕获来自贸易伙伴的httpwebrequest并将其保存到一个文件。 使用来自cryptigo的p7mviewer,我可以成功地将消息视为加密并从贸易伙伴处签名。


以下是HTTP请求AS2标题的一部分




连接:关闭

日期:2010年7月27日星期二19:31:53 GMT

内容长度:2539

内容类型:application / pkcs7-mime; SMIME型=包膜数据; name =" smime.p7m"

Accept-Encoding:gzip,deflate

User-Agent:IP * Works! V8 EDI组件 - www.nsoftware.com
$
AS2-To:< removed>

AS2-From:<删除>

AS2-版本:1.2

EDIINT-功能:多附件

处置 - 通知-To:<删除>

处置 - 通知 - 选项:signed-receipt-protocol = optional,pkcs7-signature; signed-receipt-micalg = optional,sha1,md5

Mime-Version:1.0

Content-Disposition:attachment; filename =" smime.p7m"


我可以使用更多调试工具找出问题所在吗?


谢谢,

Mike

解决方案

Hi MIke,


您是否配置了Party Properties的证书?合作伙伴的证书将在派对设置中配置,AS2解码器将使用该设置验证收到的AS2消息。您还可以参考下面的文章。


http://geekswithblogs.net/VishnuTiwariBlog/articles/biztalk-as2-certificate-configuration.aspx


I am trying to receive a AS2 file transmission from a trading partner.  I am receiving the following error:

The AS2 Decoder encountered an exception during processing.
An error occurred when validating an AS2 message.  Make sure the certificates used have not timed out or been revoked.

My cert is self signed and is stored in the host user Personal Store with key.
The trading partner cert is self signed and is stored in the Machine/Other People store and the Machine/Trusted Root store.

I have tested the same receive port from another machine simulating a different trading partner.  When I send a test message from the test trading partner I do not receive the decoder error.

I have also written a custom aspx page to capture the httpwebrequest from the trading partner and save it to a file.  Using p7mviewer from cryptigo I can successfully see the message as encrypted and signed from the trading partner.

Here is a portion of the HTTP Request AS2 headers


Connection: close
Date: Tue, 27 Jul 2010 19:31:53 GMT
Content-Length: 2539
Content-Type: application/pkcs7-mime; smime-type=enveloped-data; name="smime.p7m"
Accept-Encoding: gzip, deflate
User-Agent: IP*Works! V8 EDI Component - www.nsoftware.com
AS2-To: <removed>
AS2-From: <removed>
AS2-Version: 1.2
EDIINT-Features: multiple-attachments
Disposition-Notification-To: <removed>
Disposition-Notification-Options: signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1, md5
Mime-Version: 1.0
Content-Disposition: attachment; filename="smime.p7m"

Are there any more debugging tools I can use to figure out what the issue is?

Thanks,
Mike

解决方案

Hi MIke,

Have you configured the certificate at Party Properties ?? The partner's certificates is to be configured at the party setting which AS2 Decoder will utilize to validate the incoming AS2 message. You can also refer below article.

http://geekswithblogs.net/VishnuTiwariBlog/articles/biztalk-as2-certificate-configuration.aspx


这篇关于AS2接收证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆