How to generate certificates via RCM-API that include custom attribute in subject DN
3 years ago
Originally Published: 2010-02-02
Article Number
000040088
Applies To
RSA Certificate Manager API 6.8
Issue
How to generate certificates via RCM-API that include custom attribute in subject DN
How to generate a certificate via RCM-API that includes a custom attribute in subject DN
Resolution
Custom attribute(s) with static/default values defined in the jurisdiction can automatically be added to certificates issued through RCM-API.  There is no need to explicitly set the custom attribute in Subject DN of the request object in RCM-API application; following the steps listed below will result in certificates issued with custom attribute(s) automatically included in the subject DN:

- Ensure that the custom attribute is marked as Required and a default/static value has been assigned to it in Certificate Attributes section of the jurisdiction configuration
- Enable 'Enforce Subject DN Definition' option in Certificate Attributes section in the jurisdiction
- Set regular Subject DN attributes, other than the customer attribute(s), in the request object as needed via RCM-API, e.g., see API sample programs like CASignCertificate or CASignCertWithEnforceProfile