B4X FEED [B4X] jMQTT - TLS with self signed certificates

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: [B4X] jMQTT - TLS with self signed certificates است. این موضوع تا کنون 45 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع [B4X] jMQTT - TLS with self signed certificates
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
45
پسندها
0
آخرین ارسال توسط PracticalSoft
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 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:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید



 

عقب
بالا