I am trying to create Json Web Token using "Encode Json Web Token" assertion using JWS.
I am trying to fetch the private key from restman using
https:// <Gatewayhostname>:15012/restman/1.0/privateKeys/00000000000000000000000000000002:cert_alias/export, from the response i get Pkcs12Data string and store it in a variable, when i try to pass this in Encode JSON Web Token : JWS using 'key from context variable' it fails. Any suggestions what could be the issue
I believe the assertion is looking for a JSON Web Key or JSON Web Key Set as opposed to a p12.
We have an assertion 'Create JSON Web Key' that can be used here:
Create JSON Web Key Assertion - CA API Gateway - 9.2 - CA Technologies Documentation