Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » client certificate authentication using secured web scokets(client certificate authentication using secured web scokets)
client certificate authentication using secured web scokets [message #1800945] Thu, 10 January 2019 08:56 Go to next message
BARANIDHARAN CHINNATHAMBI is currently offline BARANIDHARAN CHINNATHAMBIFriend
Messages: 1
Registered: January 2019
Junior Member
paho-mqtt.js

I am using Mosquitto broker(server version 1.5.4 ) with paho-mqtt.js (mqtt 3.1.1) for my project implementations.
The paho JavaScript client does not have a support to pass client certificate.
During secured web socket communication, the client certificate should be passed to authenticate client with server. But the paho javascript client, doesn't have options to pass client certificate.

Is there any way paho-mqtt.js supports client certificate authentication using secured web scokets? If yes please share documentation on how to proceed?
In one way authentication (server) its works fine.


Here the Configuration for mosquitto server.

port 1883
listener 8883
protocol websockets
allow_anonymous false
cafile C:\MQTTCONFIG\pemCertFQDN\rootCA.crt
keyfile C:\MQTTCONFIG\pemCertFQDN\server.key
certfile C:\MQTTCONFIG\pemCertFQDN\server.crt
password_file C:\MQTTCONFIG\passfile.txt
acl_file C:\MQTTCONFIG\aclfile.example
require_certificate true

Re: client certificate authentication using secured web scokets [message #1800952 is a reply to message #1800945] Thu, 10 January 2019 10:22 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30896
Registered: July 2009
Senior Member
Looking at Paho's home page https://www.eclipse.org/paho/ I expect you should use their MatterMost channel or Mailing List to ask questions about Paho, where the links are on the Community drop-down.
Previous Topic:HTTP Status 404 Not Found : The origin server did not find a current representation
Next Topic:Tycho - Could not mirror artifact
Goto Forum:
  


Current Time: Sat Feb 22 16:50:43 GMT 2020

Powered by FUDForum. Page generated in 0.07288 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top