EldoS | Feel safer!

Software components for data protection, secure storage and transfer

AS2 receiver, load multiple private certificates for decryption

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#37624
Posted: 09/03/2016 10:06:10
by Geoffrey Crombez (Standard support level)
Joined: 01/09/2015
Posts: 4

Hi,

I have setup an AS2 server.
The private certificate I currently use is SHA-1.
I've a new partner to setup and he can only support SHA-256.
So I've created an extra certificate with all the same values except using SHA-256..
Now I've added the two private certificates to
Message.Encryption.CertStorage = xx
when receiving the message.

However, the message doesn't get decrypted.
How should I handle this?

tx
Geoffrey
#37653
Posted: 09/08/2016 03:20:47
by Alexander Ionov (EldoS Corp.)

Thank you for contacting us and we are sorry for the delay.

I'm not sure I understood the details correctly. As far as I understand, you've created a new certificate with SHA-256 hash and sent the public part of it to your new partner. The partner encrypts a message for you using the provided certificate. Then, you add both certificates (the old one with SHA-1 used and the new one with SHA-256 used) to the certificate storage attached to TElAS2Message.Encryption.CertStorage property and an incoming message is not decrypted. Is this correct?


--
Best regards,
Alexander Ionov
#37697
Posted: 09/12/2016 08:37:43
by Geoffrey Crombez (Standard support level)
Joined: 01/09/2015
Posts: 4

Hi,

yes, that is exactly the situation.

Kind Regards
Geoffrey
#37725
Posted: 09/14/2016 08:51:34
by Alexander Ionov (EldoS Corp.)

Unfortunately, we are unable to reproduce the issue on our side.

Did you try to decode the message using our AS2Decoder sample? Does it work or not?


--
Best regards,
Alexander Ionov

Reply

Statistics

Topic viewed 456 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!