Question

Generate JWT token using Private key

Hi,

We have a requirement to generate JWT token from pega. we see that OOTB rule is available from pega 7.3 version,but it requires keystore to upload.

Is there any way to use Privatekey instead of Keystore to generate JWT token.

Thanks.

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

May 16, 2019 - 1:57am

Hi,

You can always use a Keystore in this case, can you please let me know why do you want to add the Private key directly into the ruleform, when you can definitely add your certificates to the Keystore and achieve this ?

Thanks,

May 22, 2019 - 11:00am
Response to Vibek_Sharma

Hi Vibek

I have a similar requirement where my customer was generating a token using a private key.

I am fine to construct a keystore but cannot find easy way to simply create a keystore with the private key I got.

A keystore is asking for a private key and certificate as a keypair but we dont have any certificates. What is your advice to overcome this?