Show Table of Contents
2.6. Setting the SKI Hashing Algorithm
By default, Certificate System uses the
SHA-1 hashing algorithm to generate the Subject Key Identifier (SKI) certificate extension when issuing a new certificate. However, you can set a different algorithm in certificate profiles. The following algorithms are supported:
SHA-1SHA-256SHA-384SHA-512
For example, edit the
caUserCert enrollment profile to issue a Certificate Authority (CA) signing certificate with a Subject Key Identifier (SKI) extension composed of the SHA-512 hash:
- Disable the
caUserCertprofile:# pki -d ~/.dogtag/nssdb/ -c password -p 8080 \ -n "PKI Administrator for example.com" ca-profile-disable caUserCert - Edit the
caUserCertprofile:# pki -d ~/.dogtag/nssdb/ -c password -p 8080 \ -n "PKI Administrator for example.com" ca-profile-edit caUserCert- Add a new policy for the hashing algorithm with a unique set number for the profile. For example:
policyset.userCertSet.1.constraint.class_id=noConstraintImpl policyset.userCertSet.11.constraint.name=No Constraint policyset.userCertSet.11.default.class_id=subjectKeyIdentifierExtDefaultImpl policyset.userCertSet.11.default.name=Subject Key Identifier Default policyset.userCertSet.11.default.params.messageDigest=SHA-512The previous example uses11as the set number. - Append the new policy set number to the
policyset.userCertSet.listparameter. For example:policyset.userCertSet.list=1,10,2,3,4,5,6,7,8,9,11 - Save the profile.
- Enable the
caUserCertprofile:# pki -d ~/.dogtag/nssdb/ -c password -p 8080 \ -n "PKI Administrator for example.com" ca-profile-enable caUserCert

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.