You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use SHA-256 for OCSP certificate identifiers in the default crypto provider #55542
Keycloak’s default OCSP provider explicitly uses SHA-1 to calculate the issuer name and issuer key hashes in the CertID of outgoing OCSP requests. Use SHA-256 for these fields. BCOCSPProvider.java
Value Proposition
RFC 9919 requires conforming OCSP clients to use SHA-256 for CertID.issuerNameHash and CertID.issuerKeyHash. This removes the remaining direct SHA-1 dependency from the default OCSP request path. RFC 9919 §3.1.1
Goals
Generate OCSP request CertID values using SHA-256.
Continue matching the returned certificate status to the requested issuer hashes and certificate serial number.
Document the upgrade impact for deployments whose OCSP responders accept only SHA-1 certificate identifiers.
Non-Goals
Change the FIPS crypto provider or define the supported FIPS 140-3 configuration.
Change OCSP response signature algorithms or the protocol-defined byKey responder identifier.
Change nonce handling, responder selection, or fail-open behavior.
Acceptance criteria
An outgoing OCSP request identifies SHA-256 as the CertID hash algorithm.
The request contains the expected SHA-256 issuer name hash, issuer key hash, and certificate serial number.
Revocation checks continue to handle good, revoked, and unknown certificate statuses.
Existing nonce validation and fail-open behavior remain unchanged.
The upgrade guide explains that configured OCSP responders must accept SHA-256 certificate identifiers.
Activity