补充 self signed 期限

This commit is contained in:
ithink.chan 2019-07-16 16:33:49 +08:00
parent a4cea2e2ec
commit 3d4845af18
1 changed files with 8 additions and 0 deletions

View File

@ -102,3 +102,11 @@ TLS 必须满足以下要求才能保证 HTTPS 功能正常:
* TLS is not turned off in site's definition * TLS is not turned off in site's definition
* Certificates and keys are not provided by you * Certificates and keys are not provided by you
* Caddy is able to bind to ports 80 and 443 (unless you use the DNS challenge) * Caddy is able to bind to ports 80 and 443 (unless you use the DNS challenge)
## 修改 self signed 期限
修改如下代码:
```go
selfsigned.go:47:notAfter = notBefore.Add(24 * time.Hour * 7)
```