added ssl to server conns to mq enp

This commit is contained in:
0xdcarns 2022-07-07 15:25:34 -04:00
parent 64700a1cb9
commit 8d8644afa1

View file

@ -229,7 +229,7 @@ func GetMessageQueueEndpoint() string {
} else if config.Config.Server.MQHOST != "" {
host = config.Config.Server.MQHOST
}
return host + ":" + GetMQServerPort()
return "ssl://" + host + ":" + GetMQServerPort()
}
// GetMasterKey - gets the configured master key of server