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 API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

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

Release : 9.4

Component : 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/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/policy-assertions/assertion-palette/xml-security-assertions/look-up-certificate-assertion.html

Attachments