Skip to content

Commit

Permalink
log root issuer
Browse files Browse the repository at this point in the history
  • Loading branch information
aditsachde committed Sep 28, 2024
1 parent 40baa75 commit 31e501d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ctsubmit/logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (d *stageZeroData) stageZero(ctx context.Context, reqBody io.ReadCloser, pr

chain, err := ctfe.ValidateChain(req.Chain, validationOpts)
if err != nil {
return nil, http.StatusBadRequest, fmt.Errorf("unable to validate chain: %w", err)
return nil, http.StatusBadRequest, fmt.Errorf("unable to validate chain: %w. Root issuer: %+v", err, chain[len(chain)-1].Issuer)
}

isPrecert, err := ctfe.IsPrecertificate(chain[0])
Expand Down

0 comments on commit 31e501d

Please sign in to comment.