as2与贸易伙伴的沟通 [英] as2 communication with trade partner

查看:74
本文介绍了as2与贸易伙伴的沟通的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用自签名证书进行AS2通信。


我制作两个测试证书和两个服务器用于测试证书,当时一切都很好


当我从测试服务器1发送消息到测试服务器2时,消息被编码并且sgined


因此测试服务器2接收消息并发出MDN消息并同步将消息发送到测试服务器


MDN消息到达在测试server1中,每个进程都很好



但是与我们的客户交换消息,总是发生在消息下面


当我向客户发送消息时,他们发出MDN消息并将MDN消息发送给我们


但是当MDN消息收到我们的服务器,当时发生在消息下面。



我检查了证书我们的客户和我们但证书是正确的,没有被撤销和超时


我从不理解以下消息...


这里我受到这个问题花了几天



请帮帮我




AS2解码器在处理过程中遇到异常。消息和例外的细节如下:AS2-From:" from-TEST" AS2-到:"到-TEST"邮件ID:"< 3098346478589361197334439765>" MessageType:"unknown"例外:"验证AS2消息时发生错误。确保使用的证书没有超时或被撤销。"

解决方案

您好!



请确保合作伙伴的证书具有数字签名的密钥用法。



另外,您能否提供无法验证的MDN消息和证书,以便我可以查看它。



谢谢,


Yury


i am working on AS2 communication using self-signed certificate.

i made two test certificate and made two server for testing certificate, at that time everything is good

when i send a message from test server1 to test server2, the message is encoded and sgined

so test server2 receive the message and make a MDN message and send the message to test server1 synchronously

the MDN message arrived in test server1, every process is good

 

but exchange a message with our customer, always happen below message

when i send  a message to our customer, so they make a MDN message and send the MDN message to us

but when the MDN Message is received our server, at that time happen below message.

 

i checked certificate of our customer and us but the certificate is correct, not revoked and timed out

i never understand below message...

i spend a few days by this issue.

 

please help me

 

 

The AS2 Decoder encountered an exception during processing. Details of the message and exception are as follows: AS2-From:"from-TEST" AS2-To:"to-TEST" MessageID:"<3098346478589361197334439765>" MessageType: "unknown" Exception:"An error occurred when validating an AS2 message. Make sure the certificates used have not timed out or been revoked."

解决方案

Hello!

 

Please make sure that partner's certificate has a Key usage for a digital signature.

 

Also, can you please provide MDN message that cannot be verified and certificate so I can take a look at it.

 

Thank you,

Yury


这篇关于as2与贸易伙伴的沟通的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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