- Jun 6, 2020
- 11,559
- 4,422
Hello
I want to use an encryptes MQTT connection in all my B4J projects.
My local Mosquitto MQTT broker has been configured to use TLS with a server and client certificate, both self signed, but there is no option in the library to parse the certificate to setup the connection.
I followed
I also configured Mosquitto with the following line
The application itselfs does not make a correct connection to the broker, not even a failed connection was found in the Mosquitto log files.
The only log message I receive from jMQTT is this:
B4X:
I want to use an encryptes MQTT connection in all my B4J projects.
My local Mosquitto MQTT broker has been configured to use TLS with a server and client certificate, both self signed, but there is no option in the library to parse the certificate to setup the connection.
I followed
برای دیدن لینک ها باید ثبت نام کنید
in order to accept self signed certificate with the TrustAll
method that was provided there, but no succes.I also configured Mosquitto with the following line
require_certificate false
that I got from
برای دیدن لینک ها باید ثبت نام کنید
, but that also didn't help.The application itselfs does not make a correct connection to the broker, not even a failed connection was found in the Mosquitto log files.
The only log message I receive from jMQTT is this:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید