Potential fix for PEM IP SANs issue

pull/170/head v3.0.11
Matthieu Grieger 2016-07-01 18:34:43 -07:00
parent d0becb9c10
commit 3de4917972
3 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,9 @@
MumbleDJ Changelog
==================
### July 1, 2016 -- `v3.0.11`
* Potential fix for an issue with IP SANs on PEM certs.
### June 29, 2016 -- `v3.0.10`
* Fixed issue related to PEM keys being overwritten by PEM certs.

View File

@ -194,6 +194,8 @@ func (dj *MumbleDJ) Connect() error {
if viper.GetBool("connection.insecure") {
dj.TLSConfig.InsecureSkipVerify = true
}
dj.TLSConfig.ServerName = viper.GetString("connection.address")
if viper.GetString("connection.cert") != "" {
if viper.GetString("connection.key") == "" {
viper.Set("connection.key", viper.GetString("connection.cert"))

View File

@ -32,7 +32,7 @@ func init() {
services.DJ = DJ
bot.DJ = DJ
DJ.Version = "v3.0.10"
DJ.Version = "v3.0.11"
logrus.SetLevel(logrus.WarnLevel)
}