On Data Power V10 virtual appliance,
I have created an MPGW service for sign and verify.
I am able to sign the message using our public and private key and made another rule to verify that particular message using public key on same processing policy but it is throwing below error
"*RSA signature did not verify* (from client)".
- The configuration of Sign Action is :
- XML security.
- Envelope Method equal Enveloping Method.
- Message type equal Raw XML Document, including SAML for Enveloped.
- Add in Key field the private key.
- Add in certificate field the certificate.
- The configuration of Verify Action is :
- Signature Verification Type equal RSA/DSA Signatures
- Add in certificate field the certificate.
Note: The certificate key are proper pair, the message send to verify is not altered i am directly sending the whole signed msg in verify req body
Sign :http://192.168.31.151:2007/sign
Verify: http://192.168.31.151:2007/verify
Any help to solve this issue is highly appreciated.
------------------------------
Ashwin
------------------------------