diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 092fbbb7..379c1ac2 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -73,6 +73,7 @@ if [[ "$TEMPLATE_CONFIG" = 'true' ]]; then STORAGE_TYPE_MYSQL_PASSWORD=${STORAGE_TYPE_MYSQL_PASSWORD:-"owgw"} \ STORAGE_TYPE_MYSQL_DATABASE=${STORAGE_TYPE_MYSQL_DATABASE:-"owgw"} \ STORAGE_TYPE_MYSQL_PORT=${STORAGE_TYPE_MYSQL_PORT:-"3306"} \ + CERTIFICATES_ALLOWMISMATCH=${CERTIFICATES_ALLOWMISMATCH:-"true"} \ envsubst < /owgw.properties.tmpl > $OWGW_CONFIG/owgw.properties fi diff --git a/helm/values.yaml b/helm/values.yaml index bfa6efb2..a94621d5 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -230,6 +230,7 @@ configProperties: openwifi.devicetypes.0: AP:linksys_ea8300,edgecore_eap101,linksys_e8450-ubi openwifi.devicetypes.1: SWITCH:edgecore_ecs4100-12ph openwifi.devicetypes.2: IOT:esp32 + openwifi.certificates.allowmismatch: "true" oui.download.uri: https://standards-oui.ieee.org/oui/oui.txt firmware.autoupdate.policy.default: auto iptocountry.provider: ipinfo diff --git a/owgw.properties.tmpl b/owgw.properties.tmpl index a8847ecb..6210bc95 100644 --- a/owgw.properties.tmpl +++ b/owgw.properties.tmpl @@ -75,6 +75,7 @@ openwifi.autoprovisioning = true openwifi.devicetypes.0 = AP:linksys_ea8300,edgecore_eap101,linksys_e8450-ubi openwifi.devicetypes.1 = SWITCH:edgecore_ecs4100-12ph openwifi.devicetypes.2 = IOT:esp32 +openwifi.certificates.allowmismatch = ${CERTIFICATES_ALLOWMISMATCH} oui.download.uri = https://standards-oui.ieee.org/oui/oui.txt simulatorid = ${SIMULATORID} iptocountry.default = US