Open atodkar opened 1 year ago
@fpagliughi , do you know what could be the reason?
Sorry, I have no idea. The C lib added ALPN support, and I wrapped it in this library, but I don't have a personal Amazon account at the moment to test it
Did you ever find a solution?
I am trying to connect with paho mqtt cpp to AWS IOT Core broker but the connection is not getting established on port 443. This port is supported with ALPN proto 'x-amzn-mqtt-ca' but the connection is not getting established with CPP version. Tried all possible configurations but its not working. Below are version details
libpaho-mqtt-dev/jammy,now 1.3.9-1build1 amd64 [installed] libpaho-mqtt1.3/jammy,now 1.3.9-1build1 amd64 [installed,automatic] libssl-dev/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.6 amd64 [installed] libssl3/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.6 amd64 [installed,automatic] openssl/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.6 amd64 [installed]
PAHO MQTT CPP is being built from source using branch 1.2.0 and below commands cmake -Bbuild -H. -DPAHO_BUILD_STATIC=OFF -DPAHO_WITH_SSL=ON cmake --build build/ --target install
Can someone please help in getting the correct configuration with CPP version?