Connecting to HiveMQ #142
leisurehound
started this conversation in
General
Replies: 2 comments
-
You only need to provide the sniServerName if it is different from the server you are connecting to. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, the TLS URI is different than server name, not setting that (/or setting it to the server name) allows me to connect. Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Am attempting to connect to my HiveMQ broker but admit I'm not well versed on all all the TLS configurations I need.
For sniServerName I'm using the TLS URI that is shown for my cluster. I have confirmed the username/password are correct (they work from an old C implementation of what I'm building in Swift).
I get the following error being caught:
I've tried various values for
tslConfiguration
but none with any success.Years ago when I wrote the C impl using the WolfMQTT library (and WolfSSL) and couldn't get it to work, WolfSSL mentioned that HiveMQ 'requires the client TLS handshake to supply the Server Name Indication extension' which I believe I am doing now in Swift with MQTTNIO, no?
Any advice to set the TLS correctly to connect to hiveMQ? In the C impl, I don't believe I'm providing a certificate or a private key..
Beta Was this translation helpful? Give feedback.
All reactions