Skip to content

Commit e311e46

Browse files
authored
Merge pull request #41 from PDOK/util-cert-validity-date
Extend the validity for signed certificates.
2 parents 1bcac8c + b4c1570 commit e311e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/certs/certs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func generateCerts(config certConfig) error {
138138
Organization: []string{config.OrganisationName},
139139
},
140140
NotBefore: time.Now(),
141-
NotAfter: time.Now().AddDate(1, 0, 0),
141+
NotAfter: time.Now().AddDate(100, 0, 0),
142142
SubjectKeyId: []byte{1, 2, 3, 4, 6},
143143
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth, x509.ExtKeyUsageServerAuth},
144144
KeyUsage: x509.KeyUsageDigitalSignature,

0 commit comments

Comments
 (0)