Browse Source

added ssl to server conns to mq enp

0xdcarns 3 years ago
parent
commit
8d8644afa1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

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