Fixup for "validate certificates".

This commit is contained in:
Eugene Bujak 2019-02-13 11:46:52 +03:00 committed by Eugene Bujak
parent e8280c60d8
commit b4b800565c
1 changed files with 1 additions and 1 deletions

2
app.go
View File

@ -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))