Skip to content

Commit 2b8b5d4

Browse files
Reduce valid certificate time for testing purposes
1 parent b3aa9ab commit 2b8b5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: certificates/certificates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
var (
4141
host = "localhost"
4242
validFrom = ""
43-
validFor = 365 * 24 * time.Hour * 2 // 2 years
43+
validFor = time.Hour * 2 // 2 hours
4444
rsaBits = 2048
4545
)
4646

0 commit comments

Comments
 (0)