Example how to retrieve the modules and exponent values by using look up certificate assertion
search cancel

Example how to retrieve the modules and exponent values by using look up certificate assertion

book

Article ID: 195969

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

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.

Environment

All supported versions of the API Gateway

Resolution

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 :

  1. the assertion configuration details






2. how to display the info on Output variable :





3. how looks the output from browser when using the certificate output variable..

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-1/policy-assertions/assertion-palette/xml-security-assertions/look-up-certificate-assertion.html