# EDIINT Decryption for payload is failing

**URL:** <https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [April 21, 2005, 12:09am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615 "2005-04-21T00:09:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Jaiswal](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@Manish\_Jaiswal](https://techcommunity.softwareag.com/u/Manish_Jaiswal)\
**Post date:** [April 21, 2005, 12:09am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/1 "2005-04-21T00:09:17Z")

</div>

Hi All,  
We are using AS2 EDIINT with IS6.1. Everything was working fine till I installed verisign test certificate for one trading partner and after that for all transactions decryption is failing for payload in AS2. We receive the messages signed and encrypted from trading partners. They sign and encrypt the message with our server’s public key.  
I am receiving the error  
"java.lang.SecurityException: Unsupported keysize or algorithm parameters "

I have removed the test verisign certs from server and even created a new WMRepository also but still all the transactions are failing at decryption. In TN error is “processed/error: decryption-failed”

Please let me know if anyone had the same issue or knows what could be the resolution.

Thanks in advance.  
MJ

---

<div class="post-metadata">

**Author:** ![taro1](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@taro1](https://techcommunity.softwareag.com/u/taro1)\
**Post date:** [April 21, 2005, 12:19am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/2 "2005-04-21T00:19:51Z")

</div>

Manish,  
You may have inadvertently removed/changes your server/decryption certificate while importing this client certificate. I’d suggest re-importing your “enterprise” certificate/key combination.

~tS

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 21, 2005, 12:24am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/3 "2005-04-21T00:24:16Z")

</div>

Manish,

Did you default algorithm as TripleDES?

---

<div class="post-metadata">

**Author:** ![Manish\_Jaiswal](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@Manish\_Jaiswal](https://techcommunity.softwareag.com/u/Manish_Jaiswal)\
**Post date:** [April 21, 2005, 12:57am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/4 "2005-04-21T00:57:01Z")

</div>

Thanks for the replies.

I have import the certs again but same error. Yes default algorithm is TripleDES.

---

<div class="post-metadata">

**Author:** ![taro1](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@taro1](https://techcommunity.softwareag.com/u/taro1)\
**Post date:** [April 21, 2005, 2:14am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/5 "2005-04-21T02:14:51Z")

</div>

Manish,  
A few ideas:  
1- If you restarted the server when you installed the versigin test certificate/CA - I’d suggest that you re-start after importing your correct enterprise certificate.  
2- Did you change your Java version/environment (policy file)  
3- Added any new code that loads a new security provider?

I still suggest that you re-start wm and re-import your enterprise certificate. Especially if everything was working fine before.

~tS

---

<div class="post-metadata">

**Author:** ![Manish\_Jaiswal](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@Manish\_Jaiswal](https://techcommunity.softwareag.com/u/Manish_Jaiswal)\
**Post date:** [April 21, 2005, 3:30am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/6 "2005-04-21T03:30:14Z")

</div>

Tahira,  
Thanks a lot for your suggestion. Actually one of my collegue has changed the IS JDK to external and forgot to revert back after testing. Now we are pointing to old internal IS JDK and everything is working again.

Thank you all for your valuable advice.

Regards,  
MJ

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 21, 2005, 5:21am UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/7 "2005-04-21T05:21:10Z")

</div>

Glad it resolved.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/ediint-decryption-for-payload-is-failing/108615/8 "2021-04-02T15:05:18Z")

</div>


