Customer asking for an example to retrieve the modules and exponent values by using look up trusted certificate assertion where the cert is stored in the gateway cert store.
Release : 9.4
Component : API GATEWAY
Example about Lookup Certificate Assertion . This will provide the modulus and exponent values. However, it does Not return in an easily parsable format (ie not JSON or XML).
You would need to create some custom policy to retrieve the values and encode them to the JWK standard.
The Customization is out of our scope on support.
below a simple example about how to obtain the certificate info by using the Assertion :
2. how to display the info on Output variable :
3. how looks the output from browser when using the certificate output variable..