Closed dulataldazharov closed 1 year ago
Is there a way to specify mTLS options when connecting to a broker? For example, the mosquitto client in Rust has it: https://docs.rs/mosquitto-client/latest/mosquitto_client/struct.Mosquitto.html#method.tls_set Is there something similar in the API of this library?
Yes. Use the SslOptions and add them to the ConnectOptions. Although it uses the term SSL, it’s really TLS
SslOptions
ConnectOptions
Thanks a lot!
Is there a way to specify mTLS options when connecting to a broker? For example, the mosquitto client in Rust has it: https://docs.rs/mosquitto-client/latest/mosquitto_client/struct.Mosquitto.html#method.tls_set Is there something similar in the API of this library?