Question
BNY Mellon
BNY Mellon
IN
BNY Mellon
Posted: Jun 27, 2023
Last activity: Jul 9, 2023
Last activity: 9 Jul 2023 19:27 EDT
Closed
Need to Encrypt a payload before sending it in Connect-Rest
How to encrypt the JSON and convert it to JWS, before sending it to an external system using Connect-Rest.
We have encryption key and pem file; and decryption key and pem file; provided by the external system.
***Edited by Moderator Marije to add Capability tags***
***Edited by Moderator Marije to remove S.I. tags and add closed INC***
To see attachments, please log in.
***Edited by Moderator Marije to remove S.I. tags and add closed INC***
@MohammedAslamShaJ Pega Connect REST rule does not have a built-in feature to encrypt JSON payload and convert it to JWS directly.
However, you can create a processing JSON Web Token (JWT) profile to specify how Pega Platform validates and decrypts each JSON Web Token it receives. You can configure cryptographic components in instances of an existing keystore, and Pega Platform can then use the keystore components to validate the token's signature and decrypt the token when it receives it from an external source
Creating a processing JSON Web Token profile