diff --git a/create_certs/create_certs_linux b/create_certs/create_certs_linux index 7e57e04..c1a0448 100755 Binary files a/create_certs/create_certs_linux and b/create_certs/create_certs_linux differ diff --git a/create_certs/create_certs_osx b/create_certs/create_certs_osx index 308e263..e29d2dd 100755 Binary files a/create_certs/create_certs_osx and b/create_certs/create_certs_osx differ diff --git a/create_certs/create_certs_rpi b/create_certs/create_certs_rpi index 0b561aa..76d2201 100755 Binary files a/create_certs/create_certs_rpi and b/create_certs/create_certs_rpi differ diff --git a/create_certs/create_certs_windows.exe b/create_certs/create_certs_windows.exe index 2c84b99..244385a 100755 Binary files a/create_certs/create_certs_windows.exe and b/create_certs/create_certs_windows.exe differ diff --git a/create_certs/src/create_certs.go b/create_certs/src/create_certs.go index ce61b37..8607c5d 100644 --- a/create_certs/src/create_certs.go +++ b/create_certs/src/create_certs.go @@ -95,7 +95,7 @@ func make_CA(outCertDirectory string) { Organization: []string{"Bumper"}, }, NotBefore: time.Now(), - NotAfter: time.Now().AddDate(10, 0, 0), + NotAfter: time.Now().AddDate(2, 0, 0), SubjectKeyId: bigIntHash(priv.N), AuthorityKeyId: bigIntHash(priv.N), KeyUsage: x509.KeyUsageCertSign | x509.KeyUsageCRLSign, @@ -198,7 +198,7 @@ func signCert(outCertDirectory string, inBumperSan string) { SubjectKeyId: bigIntHash(privateKey.N), AuthorityKeyId: ca.RawSubject, NotBefore: time.Now(), - NotAfter: time.Now().AddDate(10, 0, 0), + NotAfter: time.Now().AddDate(2, 0, 0), IsCA: false, BasicConstraintsValid: true, ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth, x509.ExtKeyUsageServerAuth},