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:
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
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)
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…???
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 thinkFONT=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…??
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 thinkFONT=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…??
“(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.
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…???
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).
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