nRF7002dk TLS MQTT

Hello, I am trying to connect to an MQTT server using PEM certs and mqtt helper, however I get an error: -22 from mqtt_helper: mqtt_connect I have traced the issue to zsock_connect. From my understanding, this is due to the certificate not being in .der format, which is due to a conflict between CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT and CONFIG_WPA_SUPP which can not be used together. This seems odd since most routers will require WPA, I am curious if I am missing something here?

The PEM certs work fine on a 9160dk since its cellular.

Related