Skip to content

Commit b59f438

Browse files
authored
RA: Use IssuerNameID for revocation OCSP (letsencrypt#5516)
Update the RA to specify the IssuerNameID rather than the IssuerID when requesting that the CA generate a new OCSP response for a revoked certificate. Depends on letsencrypt#5515 Part of letsencrypt#5152
1 parent c672f14 commit b59f438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ra/ra.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ func (ra *RegistrationAuthorityImpl) revokeCertificate(ctx context.Context, cert
17901790

17911791
ocspResponse, err := ra.CA.GenerateOCSP(ctx, &capb.GenerateOCSPRequest{
17921792
Serial: serial,
1793-
IssuerID: int64(issuer.ID()),
1793+
IssuerID: int64(issuer.NameID()),
17941794
Status: string(core.OCSPStatusRevoked),
17951795
Reason: reason,
17961796
RevokedAt: revokedAt,

0 commit comments

Comments
 (0)