Explorar el Código

added ssl to server conns to mq enp

0xdcarns hace 3 años
padre
commit
6dc1e7b2ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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