Using own self-signed (OpenSSL) CA certificates in ESP32 #13441
nastiliano
started this conversation in
General
Replies: 2 comments 2 replies
-
This https://github.com/orgs/micropython/discussions/10559, https://github.com/JustinS-B/Mosquitto_CA_and_Certs should help you 👍🏼 |
Beta Was this translation helpful? Give feedback.
1 reply
-
@nastiliano I would also strongly advise actually reading "ca_maker" and "client_maker", as there are a couple of User Defined Variables in each file that customise things to your setup - plus, both files are heavily commented so they will tell you what they are going to do & often why they are doing it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone.
Finally, after weeks reading a lot, I'm using MQTT with my own server/broker (Mosquitto) with my own self-signed not verified CA certificates.
In python (with paho) is working fine, but in micropython using "mqtt.robust2", doesn't accept unverified CA certificates.
Is there some solution for that?
The console error is clear:
"The certificate is not correctly signed by the trusted CA"
And the same in my "Mosquitto" .log file:
"OpenSSL Error[0]: error:0A000418:SSL routines::tlsv1 alert unknown ca"
Could you help me plese?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions