Hi All, I am trying to create a Signature file through openssl as: smime -sign -in payload1.txt -signer RANG00001-CC.pem -inform PEM -passin pass:abcd -inkey RANG00001-CC-KEY.pem -out Signature_payload1.p7s -outform PEM -nocerts –binary
But whenever, I am passing it to one of java service (verifyPKCS7) which verifies the signature against the certificates as: boolean status = verifyPKCS7(signatureBytes, dataBytes, CertificateBytes, true); It is always failed. As same program is working fine for some old signature file but not new one, so it is not related with the code. It seems there is some problem in the Signature itself from openssl. Please let me know if you find some problem in the openssl command. Thanks in advance. Regards Sachin --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.