The PrivateKey.getUniqueID() returns a unique ID for the private key which can be used to match certificates to keys. However, according to the deprecation note:
This ID is based on an implementation that might change. If this functionality is required, it should be provided in another way, such as a function that directly matches a cert and key.
One option is to modify PKI code to use a different way for matching certificates and keys. The other option is to modify JSS to provide a unique ID that's guaranteed not going to change.
Metadata Update from @edewata: - Issue assigned to vakwetu - Issue set to the milestone: UNTRIAGED
The method has been undeprecated in JSS.
Metadata Update from @edewata: - Custom field feature adjusted to None - Custom field origin adjusted to None - Custom field proposedmilestone adjusted to None - Custom field proposedpriority adjusted to None - Custom field reviewer adjusted to None - Custom field version adjusted to None - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
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/707
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.
Login to comment on this ticket.