Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
priyawadhwa committed Oct 10, 2024
1 parent 7892ff4 commit 044f3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fulcio/createcerts/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func createAll() ([]byte, []byte, []byte, string, error) {
BasicConstraintsValid: true,
MaxPathLen: 1,
}
derBytes, err := x509.CreateCertificate(rand.Reader, rootCA, rootCA, pub, key)
derBytes, err := x509.CreateCertificate(rand.Reader, rootCA, rootCA, pub, privateKey)
if err != nil {
return nil, nil, nil, "", fmt.Errorf("failed to create certificate: %w", err)
}
Expand Down

0 comments on commit 044f3d2

Please sign in to comment.