For IPA and other use cases, it would be useful to get a list of certificates that are valid for a given host name, IP address, or email address.
When Dogtag stores a certificate, it also stores X.509 properties the subject name, issuer name, and OIDs of extensions. There is no efficient way to search for certificates by hostname. RFC 2818 and subsequent RFCs have deprecated CN in subject in favor of the subjectAltName X509v3 extension. The SAN extension can contain several kinds of general names. I'm mostly interested in DNS and IP, but URI, RFC822Name, and other may be useful, too.
Once SAN extensions are indexed, cert search should grow an argument to find certs by hostname with simple wildcard matching and fallback to CN.
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/3209
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)