Fixup for "validate certificates".
This commit is contained in:
parent
e8280c60d8
commit
b4b800565c
2
app.go
2
app.go
|
@ -183,7 +183,7 @@ func run(args options) {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
confing.TLS = data // update warnings
|
config.TLS = data // update warnings
|
||||||
|
|
||||||
// prepare cert for HTTPS server
|
// prepare cert for HTTPS server
|
||||||
cert, err := tls.X509KeyPair([]byte(config.TLS.CertificateChain), []byte(config.TLS.PrivateKey))
|
cert, err := tls.X509KeyPair([]byte(config.TLS.CertificateChain), []byte(config.TLS.PrivateKey))
|
||||||
|
|
Loading…
Reference in New Issue