Describe the bug
Dear community,
I am trying to implement mTLS for esp32 and digitalocean (DO) droplet.
Without mTLS, both entities can communicate with the examples pub from esp32 and z_sub from DO.
The problem comes when compiling the esp32 with the certificates from minica.
In the platformio.ini file, setting -DZ_FEATURE_LINK_TLS=1 does not propagate in the config.h of zenoh-pico, making it difficult to start mTLS.
My platformio.ini file:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = https://github.com/eclipse-zenoh/zenoh-pico
build_flags =
-DZENOH_COMPILER_GCC
-DZENOH_ARDUINO_ESP32
-DZ_FEATURE_LINK_TLS=1
monitor_speed = 115200
To reproduce
- Generate certificate with minica for the server (DigitalOcean or computer) and the client (esp32, base64)
- At compile time with PIO, the config file does not set the parameter Z_FEATURE_LINK_TLS to one (it stays at zero)
System info
- Ubuntu 24.02
- ESP32 Development Kit
- PlatformIO on VSCode (6.1.18)
Describe the bug
Dear community,
I am trying to implement mTLS for esp32 and digitalocean (DO) droplet.
Without mTLS, both entities can communicate with the examples pub from esp32 and z_sub from DO.
The problem comes when compiling the esp32 with the certificates from minica.
In the platformio.ini file, setting -DZ_FEATURE_LINK_TLS=1 does not propagate in the config.h of zenoh-pico, making it difficult to start mTLS.
My platformio.ini file:
To reproduce
System info