Skip to content

Commit

Permalink
resolve issue in upstream authority notification
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Yacob <marcosyacob@gmail.com>
  • Loading branch information
MarcosDY committed Sep 27, 2024
1 parent 0675270 commit e3216b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/server/api/localauthority/v1/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@ func (s *Service) TaintX509UpstreamAuthority(ctx context.Context, req *localauth
return nil, api.MakeErr(log, codes.Internal, "failed to taint upstream authority", err)
}

if err := s.ca.NotifyTaintedX509Authority(ctx, subjectKeyIDRequest); err != nil {
return nil, api.MakeErr(log, codes.Internal, "failed to notify tainted authority", err)
}

rpccontext.AuditRPC(ctx)
log.Info("X.509 upstream authority tainted successfully")

Expand Down

0 comments on commit e3216b7

Please sign in to comment.