the automated CI tests within the repo have TLS certificates and
a mosquitto config file which allow this test program to work.Â
You can see the commands that are executed to run the tests in the
CMakeLists.txt file in the test directory.
To get debug messages from OpenSSL, you can set the environment
although the test5.c program does override these settings.Â In
the test5.c program, you should change
ÂÂÂ ÂÂÂ MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_ERROR);
ÂÂÂ ÂÂÂ MQTTAsync_setTraceLevel(MQTTASYNC_TRACE_PROTOCOL);
to get OpenSSL debug messages.
On 21/05/2018 17:45, Velayuthaperumal
ÂÂÂ ÂÂÂ ÂÂÂ My requirement is i need to send data to mosquitto
broker with asynchronous secured library.
ÂÂÂ ÂÂÂ ÂÂÂ I had done sending data without SSL.
ÂÂÂ ÂÂÂ ÂÂÂ I had generated server, client's keys and
ÂÂÂ ÂÂÂ ÂÂÂ I copied to certs and ca_certificate of mosquitto
folder and also changed mosquitto.conf file as required.
ÂÂÂ ÂÂÂ ÂÂÂ i found that test5 binary which is for Mutual SSL
authentication but when i run this binary, i got below prints
""""Assertion failed, file ../../src/../test/test5.c,
line 719, description: There should be no failures in this test.
test2aOnConnectFailure callback was called
20180521 214735.500 failed: test test2a. 4 tests run, 1
20180521 214735.500 Total tests run: 4
20180521 214735.500 verdict fail"""""
ÂÂÂ I dont understand what it is. kindly help me with this.
ÂÂÂ Kindly provide if any example is available for asynchronous
paho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
icraggs@xxxxxxxxxx IBM United Kingdom
Eclipse Paho Project Lead & Mosquitto Committer