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

Unable to use ssl mode #166

Open
abhion opened this issue Dec 19, 2019 · 0 comments
Open

Unable to use ssl mode #166

abhion opened this issue Dec 19, 2019 · 0 comments

Comments

@abhion
Copy link

abhion commented Dec 19, 2019

I am trying to enable ssl on mosquitto broker. I followed the instructions here: http://www.steves-internet-guide.com/mosquitto-tls/

This is my config file with path to key and certificate files:

`#cafile C:\Users\DemoEngineer\Desktop\cert\ca.crt
#capath C:\Users\DemoEngineer\Desktop\cert

Path to the PEM encoded server certificate.
#certfile C:\Users\DemoEngineer\Desktop\cert\server.crt

Path to the PEM encoded keyfile.
#keyfile C:\Users\DemoEngineer\Desktop\cert\server.key
`

When i run the config file with this command: mosuitto -v -c mosquitto.conf, I get

Config loaded from mosquitto.conf. 1576732345: Opening websockets listen socket on port 1884. 1576732345: libuv support not compiled in 1576732345: Creating Vhost 'default' port 1884, 3 protocols, IPv6 off 1576732345: Using non-SSL mode 1576732345: Opening ipv6 listen socket on port 1883. 1576732345: Opening ipv4 listen socket on port 1883.

It says using non-ssl mode though I have added path to key and certificate.

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

1 participant