Merge branch 'v1.5' into 'v1.6'
This commit is contained in:
commit
edbcd01fbc
5 changed files with 12 additions and 12 deletions
|
@ -72,7 +72,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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue