SSL Load Cert Chain "Invalid Key" #18334
|
Hello, I have been using micropython to connect to MQTT for a couple of years now using the mqtt.simple library file. Upon a fresh build, it seems the SSL parameters have changed and I cannot use the same certs I have been using to connect. I keep getting an invalid key error when using my certs now. Is there a change to the SSL library that happened recently? Before, I was using a pico for most of the time with the same libraries, but have also used an stm32 to connect previously as well. Any help is appreciated here, thank you. I have been using DER format CERTS for a while now, so not sure why it is behaving differently now. My ssl is version 0.2.1. Traceback (most recent call last): |
Replies: 1 comment
|
My error was trying to use client and key certs as well as the ca cert files. This worked previously for me but my latest build I deleted the client and key certs and kept only the ca.der file in my connection and that has fixed the issue. |
My error was trying to use client and key certs as well as the ca cert files. This worked previously for me but my latest build I deleted the client and key certs and kept only the ca.der file in my connection and that has fixed the issue.