Question

JWT token generation -- security config using Private key only.

Hi

We are using 'Token Profile' rule form to generate a JWT token.
It has three parts header, claims and Security to be configured.
For security configuration, its expecting Keystore, alias and password as mandatory fields.

Customer already has working application built in Java where they are generating JWT tokens using a private key file only.
Do anyone know how to represent private key in keystore form?

My analysis so far is that keystore contains private key, certificates and keypairs. Its not possible to generate keystore just with the private key.
How can I achieve similar thing using Pega what customer has done in their java code?

Comments

Keep up to date on this post and subscribe to comments

May 21, 2019 - 8:22am
Response to KevinZheng_GCS

Hi, in this post the discussion is around encrypted token. We dont have that need in ours. Not sure if they mean encoded there. 

July 8, 2019 - 2:34pm

Is this feature available now or still pending. I am using PEGA 7.1.9

July 8, 2019 - 2:52pm

@ramap2 Could you let us know if this feature is available in 7.1.9 please? 

Marissa | Community Moderator | Pegasystems Inc.

Pega
July 9, 2019 - 12:28am

JWT support not there in 7.1.9, its available from PEGA 7.3 onwards.