Compare commits

...

1 Commits

Author SHA1 Message Date
Arif Alam
e647c1e2c4 ucentral-client: fix ucentral insecure mode enabled by default when allow-self-signed is unset
Fixes WIFI-15375

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2026-03-12 00:48:38 -04:00

View File

@@ -36,6 +36,7 @@ start_service() {
#config_get port 'config' 'port'
config_get debug 'config' 'debug' 0
insecure=$(cat /etc/ucentral/gateway.json | jsonfilter -e '@["allow-self-signed"]')
[ "$insecure" = "true" ] && insecure=1 || insecure=0
config_get insecure 'config' 'insecure' $insecure
if [ -f /etc/ucentral/restrictions.json ]; then