#2317 Bad profile subject name default can cause NPE when processing request
Closed: Fixed None Opened 7 years ago by ftweedal.

A profile SubjectNameDefault configuration like:

policyset.serverCertSet.1.default.params.name=userprofile

results in an invalid Subject DN. The SubjectNameDefault
implementation ignores the IOException thrown by the X500Name
constructor (indicating, e.g. "Bad AVA, missing '='") and
and subsequent code throws NullPointerException when it tries
to format the subject name (because it was not set properly).

This results in unhelpful, non-XML servlet responses, and FreeIPA
does not handle it very well.


pushed to master (54c18d85a778775c86bcddab4eee929719ac4d23)

Metadata Update from @ftweedal:
- Issue assigned to ftweedal
- Issue set to the milestone: 10.3.1

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2437

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata