Skip to content

Commit

Permalink
Set CRL expiration to 1 year instead of 1 month
Browse files Browse the repository at this point in the history
Signed-off-by: Marios Andreopoulos <[email protected]>
  • Loading branch information
andmarios committed Jun 23, 2019
1 parent 52f0ea3 commit 07880e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickcert.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func main() {
RevocationTime: time.Now(),
})

crlDerBytes, err := cacert.CreateCRL(rand.Reader, cakey, revokedCerts, time.Now(), time.Now().AddDate(0, 1, 0))
crlDerBytes, err := cacert.CreateCRL(rand.Reader, cakey, revokedCerts, time.Now(), time.Now().AddDate(1, 0, 0))
checkError("Failed to create CRL: ", err)

var outCrl string
Expand Down

0 comments on commit 07880e9

Please sign in to comment.