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

Can I use mosquitto_tls_set()? #31

Closed
eason112 opened this issue Sep 25, 2023 · 3 comments
Closed

Can I use mosquitto_tls_set()? #31

eason112 opened this issue Sep 25, 2023 · 3 comments

Comments

@eason112
Copy link

I want to connect AWS iot ,but when i use mosquitto_tls_set(mosq, cafilePath, NULL, certPath, keyPath, NULL);or connection.tls_set(cafilePath, NULL, certPath, keyPath, NULL); it return MOSQ_ERR_NOT_SUPPORTED

@tustanivsky
Copy link
Member

I want to connect AWS iot ,but when i use mosquitto_tls_set(mosq, cafilePath, NULL, certPath, keyPath, NULL);or connection.tls_set(cafilePath, NULL, certPath, keyPath, NULL); it return MOSQ_ERR_NOT_SUPPORTED

There is a tls_support branch in this repo which might be helpful. It's quite an old one though so not sure if it's still working

@ennorehling
Copy link
Contributor

The mention of the tls_support branch here was a really helpful pointer. It contains a newer version of the windows mosquitto library, linked against the correct runtime (see issue #40), and some refactorings, like joining the Utils directories.

Sadly, it seems to have dropped Linux support :-(

For our project, we rebased it on master and plan to eventually backfill the Linux support if it turns out that we need it.

@eason112
Copy link
Author

OK, thanks!

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

3 participants