This issue was migrated from Pagure Issue #3012.Originally filed by mharmsen on 2018-05-02
When creating a custom CA profile trying to substitute anything other than request.req_subject_name.cn it does not get replaced with the appropriate value from the CSR.
Steps to Reproduce:
1. Create a cert profile with a custom subject DN like:
policyset.serverCertSet.1.default.params.name=CN=$request.req_subject_name.cn$, OU=$request.req_subject_name.ou$
2. Create a CSR containing CN=test.example.com, OU=foo
3. Sign the CSR
Actual results:
The resultning signed cert contains the CN=test.example.com, OU=$request.req_subject_name.ou$
Expected results:
The certificate subject should be populated with $request.req_subject_name.<field> for example: CN=test.example.com, OU=foo
Additional info:
This applies to other fields as well, such as $request.req_subject_name.sn$ and $request.req_subject_name.st$
This issue was migrated from Pagure Issue #3012.Originally filed by mharmsen on 2018-05-02
When creating a custom CA profile trying to substitute anything other than request.req_subject_name.cn it does not get replaced with the appropriate value from the CSR.
Steps to Reproduce:
Actual results:
Expected results:
Additional info: