# EDIINT:Error...security check failed

**URL:** <https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 29, 2013, 10:45pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462 "2013-01-29T22:45:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh8](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rajesh8](https://techcommunity.softwareag.com/u/Rajesh8)\
**Post date:** [January 29, 2013, 10:45pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/1 "2013-01-29T22:45:10Z")

</div>

Hi everyone,

I am doing a AS2 setup with one of my partner, i have installed the public certificate of my partner in TN and IS.

But while receiving a EDIINT message from our partner , the message is processed with ERROR state. Error message shown in activity log is:

processed/error: insufficient-message-security

Could anyone help me on this issue

Regards,  
Rajesh

---

<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:** [January 29, 2013, 11:41pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/2 "2013-01-29T23:41:26Z")

</div>

Did you shared your certificate to your TP also and confirmed they are sending in their request?

These kind of issues you need to closely work with your/TP network teams engaged and also by raising the log level trace for ( 0064 Network Services,HTTP) etc…

But most likely the issue related to certs hand shaking or message digest not matching the format…Please also google the error for more infor:

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [January 30, 2013, 1:36am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/3 "2013-01-30T01:36:56Z")

</div>

reading the error: processed/error: insufficient-message-security  
this normally happens when the client system is not signing and/or encrypting the message, but corresponding TN profile of the sender requires signing/encryption (which is the default setting).  
If the client is not signing or encrypting, just change the TN profile setting: TN profile\>Extended field\>EDIINT\>SMIME Type

---

<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:** [January 30, 2013, 2:08am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/4 "2013-01-30T02:08:04Z")

</div>

I have seen this error with out having SMIME Type defined on the profile and try with plain…But yes could be client system is not signining or encrypting the message…and you can test with text/plain with out sign/encryption and EDIINT should work with no error (not secured though)

---

<div class="post-metadata">

**Author:** ![Rajesh8](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rajesh8](https://techcommunity.softwareag.com/u/Rajesh8)\
**Post date:** [January 30, 2013, 2:20am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/5 "2013-01-30T02:20:06Z")

</div>

Hi,

Yes i have shared our certificates to our TP. I have shared our Root, Intermediate, AND CA cert to our partner.

Partner is using 3DES/SH1 for signing and encryption.

I have configured S/MIME and signing and encrypting and encrypting algoritham as 3DES at our side in TN…this is the same thing i have followed in previous setup’s, but this one is giving the error…not sure what happened…are there any extended settings do i need to take care of…???

Please advise…

Regards,  
Rajesh

---

<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:** [January 30, 2013, 3:29am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/6 "2013-01-30T03:29:22Z")

</div>

This is in 8.x env correct?..Did you ever tried with SMIME Plain and test the difference?

Set the S/MIME type to plain on both sender and receiver profile’s EDIINT extended properties and that should resolve the issue.

Also is there any TP working fine similar setup or is this first moved to production?

Also please see these related KB’s on Empower:

KB #: 1731606

KB #: 1736859

IF you are on EDIModule 65 then  
WmEDIINT\_6-5-2\_Fix12 resolves the issue

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Rajesh8](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rajesh8](https://techcommunity.softwareag.com/u/Rajesh8)\
**Post date:** [January 30, 2013, 9:16pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/7 "2013-01-30T21:16:26Z")

</div>

Yes, Our environment is 8.2

I have changed the SMIME to plain, and the error message shown previously had not seen, but here is the new error…:

processed/error: decryption-failed

Our TP EDIINT has the subject as:

BizMgr AS2[SMIME Signed And Encrypted/EncryptParams(3DES/168)SigningAlg(SHA1)]

From this i can say OUR TP is signing and encrypting the message…am i Right ?

Do i need to change anything more, like java policies etc…  
I think FONT=Arial Unlimited Strength Jurisdiction Policy File [/font]was expired or it’s only limited…do i need to chnage this policy to unlimited…? I am not sure how this policy file will be effecting the decryption so i am asking, but we have some other TP of same setup which are working good…🙂

Last but not least…Do i need to Give our Private Key certificate in Encrypt/Decrypt tab in TP profile…? i have some of the setups which are working good without giving the Private Key certificate in Encrypt/Decrypt tab in TP profile…??

Regards,  
Rajesh

---

<div class="post-metadata">

**Author:** ![Rajesh8](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rajesh8](https://techcommunity.softwareag.com/u/Rajesh8)\
**Post date:** [January 30, 2013, 9:33pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/8 "2013-01-30T21:33:53Z")

</div>

Yes, Our environment is 8.2

I have changed the SMIME to plain, and the error message shown previously had not seen, but here is the new error…:

processed/error: decryption-failed

Our TP EDIINT has the subject as:

BizMgr AS2[SMIME Signed And Encrypted/EncryptParams(3DES/168)SigningAlg(SHA1)]

From this i can say OUR TP is signing and encrypting the message…am i Right ?

[B]Do i need to change anything more, like java policies etc…  
I think FONT=Arial Unlimited Strength Jurisdiction Policy File [/font][COLOR=#333333][FONT=Arial]was expired or it’s only limited…do i need to chnage this policy to unlimited…? I am not sure how this policy file will be effecting the decryption so i am asking, but we have some other TP of same setup which are working good…🙂[/font][/color]

Last but not least…Do i need to Give our Private Key certificate in Encrypt/Decrypt tab in TP profile…? i have some of the setups which are working good without giving the Private Key certificate in Encrypt/Decrypt tab in TP profile…??

[B]Regards,  
Rajesh[/b][/B]

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [January 30, 2013, 9:44pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/9 "2013-01-30T21:44:39Z")

</div>

“(JCE) Unlimited Strength Jurisdiction Policy File was expired or it’s only limited…”  
you sure need to load the unlimited policy file to your JCE. Search on Java’s web site, download and install it.

BTW, you should never share your private key with your trading partner.

---

<div class="post-metadata">

**Author:** ![Rajesh8](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@Rajesh8](https://techcommunity.softwareag.com/u/Rajesh8)\
**Post date:** [January 30, 2013, 9:51pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/10 "2013-01-30T21:51:23Z")

</div>

Hi,

Thanks for your reply…shall install JCE file and let you know…

I am not sharing our Private Certificate to our Trading partner, i am just asking do i need to install Private key certificate in the Encrypt/Decrypt tab in Trading Partner profile in our Trading Network console…???

---

<div class="post-metadata">

**Author:** ![Tong\_Wang](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/tong_wang/32/410_2.png) [@Tong\_Wang](https://techcommunity.softwareag.com/u/Tong_Wang)\
**Post date:** [January 30, 2013, 9:56pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/11 "2013-01-30T21:56:07Z")

</div>

Yes, you need to install your private key under the encrypt/decrypt tab in order to decrypt the message (which is encrypted by your client using your server’s public key).

---

<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:** [January 31, 2013, 1:27am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/12 "2013-01-31T01:27:52Z")

</div>

I am not sharing our Private Certificate to our Trading partner, i am just asking do i need to install Private key certificate in the Encrypt/Decrypt tab in Trading Partner profile in our Trading Network console…???

→ YES load it in your sender profile private key should be defined in all tabs

---

<div class="post-metadata">

**Author:** ![Suresh\_Rao2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/suresh_rao2/32/635_2.png) [@Suresh\_Rao2](https://techcommunity.softwareag.com/u/Suresh_Rao2)\
**Post date:** [June 14, 2013, 4:04am UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/13 "2013-06-14T04:04:38Z")

</div>

Hi There,

I have faced same issue. Our partner was using our certificate along with certificate chain.

I have asked them to use only public certificate. After that issue has been resolved.

- Suresh

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [June 14, 2013, 3:53pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/14 "2013-06-14T15:53:34Z")

</div>

Yes most likely these issue always leads to certs not configured properly chain or public cert installation. (time taking errors) ☹

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Rama\_Motati](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@Rama\_Motati](https://techcommunity.softwareag.com/u/Rama_Motati)\
**Post date:** [April 22, 2014, 10:25pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/15 "2014-04-22T22:25:27Z")

</div>

we have the same issue and tried all the above suggested solutions but none is working. Any more suggestions please?  
Thanks in advance.  
Ram

---

<div class="post-metadata">

**Author:** ![rmg](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rmg](https://techcommunity.softwareag.com/u/rmg)\
**Post date:** [April 22, 2014, 11:11pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/16 "2014-04-22T23:11:23Z")

</div>

> [@Rama Motati](#):
>
> we have the same issue and tried all the above suggested solutions but none is working. Any more suggestions please?  
> Thanks in advance.  
> Ram

Is the exact same issue and what is your IS/EDIINT module version running on?

Have you already open a ticket with SAG support yet?

HTH,  
RMG

---

<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:06pm UTC](https://techcommunity.softwareag.com/t/ediint-error-security-check-failed/110462/17 "2021-04-02T15:06:11Z")

</div>


