Closed AmrutaCh closed 5 years ago
Hi @AmrutaCh
Can you please test it with current version of the library? My mosqutto configuration looks similar
port 8883
cafile /home/david/ssl/mosq_certs/ca.crt
certfile /home/david/ssl/mosq_certs/server2.crt
keyfile /home/david/ssl/mosq_certs/server.key
require_certificate true
use_identity_as_username true
tls_version tlsv1
and esp client connects correctly, no issue with tlsv1
I don't remember now what was the issue. But I had got it working.
Previously I had used your esp8266 mqtt lib with a mosquitto server and it works very well. However, this esp32 lib is failing to connect to the same server. I am using mosquitto server with tls version tlsv1. No certificates are used on the client side, only username and password is used for authentication.
We get the below error in server side:
Below is my mosquitto.conf:
Any insights or suggestions