RA: Use IssuerNameID for revocation OCSP (#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 #5515 Part of #5152
This commit is contained in:
parent
c672f14edd
commit
b59f4386f5
2
ra/ra.go
2
ra/ra.go
|
@ -1790,7 +1790,7 @@ func (ra *RegistrationAuthorityImpl) revokeCertificate(ctx context.Context, cert
|
|||
|
||||
ocspResponse, err := ra.CA.GenerateOCSP(ctx, &capb.GenerateOCSPRequest{
|
||||
Serial: serial,
|
||||
IssuerID: int64(issuer.ID()),
|
||||
IssuerID: int64(issuer.NameID()),
|
||||
Status: string(core.OCSPStatusRevoked),
|
||||
Reason: reason,
|
||||
RevokedAt: revokedAt,
|
||||
|
|
Loading…
Reference in New Issue