Potential fix for PEM IP SANs issue
This commit is contained in:
parent
d0becb9c10
commit
3de4917972
|
@ -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.
|
||||
|
||||
|
|
|
@ -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"))
|
||||
|
|
Reference in a new issue