eclipse / paho.mqtt.rust

paho.mqtt.rust
Other
527 stars 102 forks source link

What files my client needs to connect to a ssl protected broker? #177

Open Tockra opened 1 year ago

Tockra commented 1 year ago

Hi Folks,

my broker has a ca.crt server.crt server.key

Further I have a client.crt and client.key.

What exactly I have to set at my mqtt paho client to enable a ssl connection to my broker? I'm very confused and the documentation doesn't help me. There are trust_store, key_store, private_key, ca_path . All together confuses me. What is necessary? What is optional? Which files I have to set there?

T