Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTTS Connection #17

Closed
Zuendelmeister opened this issue Jul 27, 2017 · 2 comments
Closed

MQTTS Connection #17

Zuendelmeister opened this issue Jul 27, 2017 · 2 comments

Comments

@Zuendelmeister
Copy link

Hi again,

is there a way to send the data via MQTTS (Port 8883?).
It would be gread to send encrypted messages.
Thanks.

Best regards,
Zuendelmeister

@chkr1011
Copy link
Collaborator

Hi,
sure. Please have a look at the MqttClientOptions. There you can find the TlsOptions. In most cases you only need to set UseTls to true.

Best regards
Christian

@Zuendelmeister
Copy link
Author

Zuendelmeister commented Aug 8, 2017

Hi again,

works fine. Just had to do this:
options.TlsOptions.UseTls = true;
Done and happy ^^

Best regards,
Zuendelmeister

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants