Skip to content

Commit

Permalink
Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
hdecarne committed Dec 10, 2023
1 parent d3642bc commit d604a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func newCertificateFactory(issuerEntry *store.RegistryEntry, user string) certs.
Subject: pkix.Name{
Organization: []string{now.Local().String()},
},
IsCA: issuerEntry != nil,
IsCA: issuerEntry == nil,
KeyUsage: x509.KeyUsageCRLSign,
NotBefore: now,
NotAfter: now.Add(time.Hour),
Expand Down

0 comments on commit d604a3d

Please sign in to comment.