EldoS | Feel safer!

Software components for data protection, secure storage and transfer

as2Message loading error

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#26590
Posted: 09/24/2013 13:13:42
by Katit (Basic support level)
Joined: 09/19/2013
Posts: 14

Testing our AS2 server which developed with Eldos blackbox and our trading partner can't send message.

We get following exception:
Code
Message decryption failed with error code: 0x2002 (error code is 10035)


Also, 2 warnings from their server:
No protocol version specified. Code: 10001
No transfer encoding specified for encrypted message. Code: 10005


Where can I get more details on this?

P.S. I tested with your sample Sender project and all works.
#26591
Posted: 09/24/2013 13:30:55
by Alexander Ionov (EldoS Corp.)

I've posted the link in the previous topic: https://www.eldos.com/documentation/sb...codes.html
Error code 0x2002 means:
0x2002
Decryption: Certificate which was used to encrypt message was not found.
Decryption: The required certificate is found but it doesn't contain the corresponding private key.

You can ignore that warnings if they do not result in invalid data extraction.


--
Best regards,
Alexander Ionov
#26592
Posted: 09/24/2013 13:39:06
by Katit (Basic support level)
Joined: 09/19/2013
Posts: 14

Should I specify encription algoritm when receive message or BlackBox will automatically try all of them?

Should I specify encoding?

Is there any way to check what certificate it expect if I have raw message? I wonder if they didn't configure my public cert or something..
#26593
Posted: 09/24/2013 13:55:03
by Alexander Ionov (EldoS Corp.)

Quote
Katit wrote:
Should I specify encription algoritm when receive message or BlackBox will automatically try all of them?

Should I specify encoding?

No, you should not. These parameters are already specified in a message.

Quote
Katit wrote:
Is there any way to check what certificate it expect if I have raw message?

TElAS2Message class has the OnDecrypting and OnVerifying events which are fired BEFORE decrypting a message or verifying its signature respectivly.
Usage of these events are shown in the Decoder sample.


--
Best regards,
Alexander Ionov

Reply

Statistics

Topic viewed 1239 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!