Browse Source

added ssl to server conns to mq enp

0xdcarns 3 năm trước cách đây
mục cha
commit
8d8644afa1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

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