forked from Ivasoft/traefik
Default certificate expiry
This commit is contained in:
committed by
Traefiker Bot
parent
ccd919aba3
commit
2641832304
@@ -71,7 +71,7 @@ func derCert(privKey *rsa.PrivateKey, expiration time.Time, domain string) ([]by
|
||||
}
|
||||
|
||||
if expiration.IsZero() {
|
||||
expiration = time.Now().Add(365)
|
||||
expiration = time.Now().Add(365 * (24 * time.Hour))
|
||||
}
|
||||
|
||||
template := x509.Certificate{
|
||||
|
||||
Reference in New Issue
Block a user