How to disable certificate verification in MQTT and only enable encryption using TLS?
I used nxd_mqtt_client.c to create an MQTT client and establish a TLS connection with the server. Since there are no certificates, I hope to find a way to disable certificate verification. I sincerely request your guidance, dear teachers and experts. Thank you very much!
Hi @vscodeenv.
I am not sure myself. I will ask a member of the team with NetX Duo experience to have a look at this. Thank you for your patience.
@vscodeenv did you use an x.509 certificate to establish a TLS connection with the server? Is so, how did you create this certificate? Was it assigned by the server? Thanks!
@vscodeenv can we better understand the use case?
What MQTT server are you connecting to? Is it requiring mTLS certificate authentication for your client?
If this is mTLS 2 way authentication, is there not a client certificate loaded in your TLS client?