解密AS2消息时发生错误 [英] An error occurred when decrypting an AS2 message

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

问题描述

我在Azure Logic应用中遇到企业集成问题.我已经构建了使用AS2相互通信的Sender和Reciever逻辑应用程序.

I have a problem with Enterprise Integration in Azure Logic Apps. I have built a Sender and a Reciever logic applications that communicate with each other using AS2.

每个应用程序都分配给一个单独的集成帐户.

Each application is assigned to a separate Integration Account.

在启用消息加密之前,一切工作正常.我使用Azure Key Vault Service生成证书.我使用发件人"集成帐户中的收件人"公钥对邮件进行加密,并在收件人"集成中使用收件人"私钥 进行解密的帐户.

Everything works well until I enable the message encryption. I used the Azure Key Vault service to generate the Certificate. I use the Reciever public key in Sender integration account to encrypt the message and Receiver private key in Receiver integration account for decryption.

但是,当我现在执行工作流程时,Receiver应用程序中的AS2连接器会引发错误:

However, when I now execute the workflow, the AS2 connector in Receiver application throws an error:

已处理/错误:解密失败错误:解密AS2消息时发生错误

我仔细检查了密钥用法,但它对我来说是正确的:数字签名,密钥加密,数据加密

I double checked the Key Usage, but it looks correct for me: Digital Signature, Key Encipherment, Data Encipherment

AS2协议看起来也正确.加密方式设置为AES128.

The AS2 agreement also looks correct. The encryption method is set to AES128.

我试图检查Microsoft的示例解决方案,但是,它仅发送未加密的消息.

I tried to check the sample solution from Microsoft, however, it only sends the unencrypted messages.

有人成功建立了加密的AS2吗?我缺少什么吗?

Was anyone successful in setting up the encrypted AS2? Am I missing something?

推荐答案

这个?您能否查看
Hi Amit Khulur - Is the sample solution from Microsoft that you were referring to is this one? Could you review the answer provided in this thread and see if that applies to your scenario?


这篇关于解密AS2消息时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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