Question
EY
EY
ES
EY
Posted: 1 week ago
Last activity: 7 hours 34 minutes ago
Last activity: 16 Feb 2026 3:44 EST
Solved
Need JWT with x5c header
Hi Everyone,
I need to generate a JWT from a Token Profile that includes the x5c (certificate chain) header.
Setup:
- Token Profile: JSON Web Token
- Security: Signature → Asymmetric → RS256
When I try to set x5c manually (pasting the cert chain), I get this error:
“JWS Alias — Please provide correct algorithm key with correct key length.”
Is there any way to make Pega include the x5c header automatically when generating the JWT?
Thanks!