-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
SSL using Websocket Protocol #1002
Comments
Did you compile the broker yourself? If not, websocket support isn't included in the provided 1.4.9 version. I'd suggest trying 1.5.3. |
@ralight : Without SSL,through web socket protocol method working.But,it is not working with SSL method.I will try with mosquitto1.5.3 & let you know. |
@ralight : i tried with 1.5.3 and open ssl 1.1.0i. and Created another java script web page for client connection. Please suggest me how to debug the error. |
there might be a WS issue with 1.5.3 as per #1004 |
i used the following configuration for SSL web socket connection.
port 8883
protocol mqtt
cafile C:\mos\certs\ca.crt
keyfile C:\mos\certs\ia.key
certfile C:\mos\certs\ia.crt
require_certificate false
tls_version tlsv1.2
listener 9883
protocol websockets
cafile C:\mos\certs\ca.crt
keyfile C:\mos\certs\ia.key
certfile C:\mos\certs\ia.crt
require_certificate false
tls_version tlsv1.2
i tried to connect web client, i'm getting "failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR"..
i'm not able to trace the error.Please suggest me , to resolve the error.
OS:Windows 2012 R2,
OpenSSL 1.0.2 ,
Mosquitto 1.4.9
The text was updated successfully, but these errors were encountered: