mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 04:02:29 +00:00
.
This commit is contained in:
@@ -31,7 +31,7 @@ networks:
|
|||||||
<p><i>/mosquitto/mosquitto.conf</i></p>
|
<p><i>/mosquitto/mosquitto.conf</i></p>
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> If you are using IP addresses, then issue certificates and keys to the corresponding IP address of MQTT brocker
|
> If you are using IP addresses, then issue certificates and keys to the corresponding IP address of MQTT broker
|
||||||
|
|
||||||
``` text
|
``` text
|
||||||
## List ports listen to
|
## List ports listen to
|
||||||
@@ -52,7 +52,7 @@ persistence_location /srv/dev-disk-by-label/docker/columes/mosquitto/data/
|
|||||||
<p>The two lines of code shown below are the most crucial as they are responsible for connecting ESP32 to the MQTT broker.</p>
|
<p>The two lines of code shown below are the most crucial as they are responsible for connecting ESP32 to the MQTT broker.</p>
|
||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> A set of SSL certificates and key used by ESP32 MQTT client must correspond to ones used by MQTT brocker. Otherwise, secure connection won't be established.
|
> A set of SSL certificates and key used by ESP32 MQTT client must correspond to ones used by MQTT broker. Otherwise, secure connection won't be established.
|
||||||
|
|
||||||
```C
|
```C
|
||||||
espClientSSL.setCACert(NODE_CERT_CA);
|
espClientSSL.setCACert(NODE_CERT_CA);
|
||||||
|
Reference in New Issue
Block a user