Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho C-Client TLSv1.1 - unknown Protocol

Hi all,

I am trying to use a SSL connection with the PAHO C Client. It seems as if I just miss something!

When Using the Python API, I can use tls_version=....

In the Documentation for the C API I don't find anything comparable.

I have set connection_options.serverURIs="ssl://mybroker:8883" and the client tries to connect to the mosquitto broker, which logs:

SSL23_GET_CLIENT_HELLO:unknown protocol.

Which was the same Error I got when not specifying the tls protocol version in Python. Is there any way in the C API to set the SSL/TLS Version?

Did I miss anything else?

Cheers,

Chris

Back to the top