Skip to content

Pico W TLS connection using umqtt.simple #10559

Discussion options

You must be logged in to vote

My way of getting my Pico W to connect to my mosquitto broker over TLS uses the standard approach of a Self Signed CA, server key/cert, and user key/cert, along with a DH handshake. I haven't managed to work out yet how to only use the server key/cert on its own, without the user key/certs, but it's got to be easy now that the basic ssl_params work.

I am in the process of documenting the way I created my different keys, certificates & DH dhparamfile, and as soon as it is clear & easy to follow I will upload it to my Github Gist and link it in here.

This is the micropython code for my Pico W that finally got MQTT working over SSL/TLS for me - all down to @peterhinch and @Carglglz as I was …

Replies: 19 comments 15 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@peterhinch
Comment options

@Carglglz
Comment options

Comment options

You must be logged in to vote
1 reply
@Carglglz
Comment options

Comment options

You must be logged in to vote
6 replies
@JustinS-B
Comment options

@Carglglz
Comment options

@JustinS-B
Comment options

@JustinS-B
Comment options

@Carglglz
Comment options

Comment options

You must be logged in to vote
1 reply
@JustinS-B
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JustinS-B
Comment options

You must be logged in to vote
2 replies
@JustinS-B
Comment options

@Carglglz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Carglglz
Comment options

Comment options

You must be logged in to vote
1 reply
@Carglglz
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@peterhinch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants