hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
847 stars 158 forks source link

how to use ssl similar to paho setSocketFactory function? #504

Closed liulongblog closed 2 years ago

liulongblog commented 3 years ago

Problem or use case

i want to use Mqtt3ClientBuildrr.sslConfig(),what do i need to do to achieve similar to paho ssl with setSocketFactory? i just set keymanagerFactory,but occur exception : by: Java. security. cert,CertiticateExpiredException: NotAfter: Sat Nov 02 21:42:48 CST please help me

Preferred solution or suggestions

liulongblog commented 2 years ago

solved