Fix TLS and SSL config option parsing (#4247)

(cherry picked from commit acba20af1a)
This commit is contained in:
Daniel Nelson
2018-06-06 18:29:59 -07:00
committed by Daniel Nelson
parent d616ce7a9e
commit ef67222bc6
5 changed files with 31 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ type ClientConfig struct {
// Deprecated in 1.7; use TLS variables above
SSLCA string `toml:"ssl_ca"`
SSLCert string `toml:"ssl_cert"`
SSLKey string `toml:"ssl_ca"`
SSLKey string `toml:"ssl_key"`
}
// ServerConfig represents the standard server TLS config.