mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
TOOLTIPs_revised
This commit is contained in:
@@ -5,15 +5,16 @@ Default Value: `true`
|
||||
!!! Warning
|
||||
This is an **Expert Parameter**! Only change it if you understand what it does!
|
||||
|
||||
Enable or disable the validation of the server certificate.
|
||||
Enable or disable the validation of the server certificate CN field.<br>
|
||||
|
||||
If `enabled (true)`, the certificate sent by the server is validated using the configured [Root CA Certificate file](https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/#parameter-cacert).<br>
|
||||
The server name in [uri](https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/#parameter-uri) is compared with the CN field of the server certificate.<br>
|
||||
A connection will be only established if these match.<br>
|
||||
It ensures the origin of the server.
|
||||
A connection is only established if they agree. It ensures the origin of the server.
|
||||
|
||||
If `disabled (false)`, only the validity of the certificate (e.g. expiry) is checked, not the origin (CN field).<br>
|
||||
If you use public brokers, make sure to set this parameter to "enabled", to avoid potential MITM-Attacks!
|
||||
If `disabled (false)`, the ESP32 skipped any validation of server certificate CN field.<br>
|
||||
This reduces the security of TLS and makes the *MQTT* client susceptible to MITM attacks.
|
||||
|
||||
!!! Note
|
||||
This also means that you might have to change the protocol and port in to `mqtts://example.com:8883`!
|
||||
|
||||
If you use public brokers, is recommended to set this parameter to "enabled (true)".
|
||||
|
||||
Reference in New Issue
Block a user