eclipse-paho / eclipse-paho/paho.mqtt.javascript

Question: Is it possible to use client certificate for authentication in paho-mqtt javascript client?

Open
#187 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.2k
Forks
466
PR merge metrics
No merged PRs in 30d

Description

From the application point of view, you will have only one option (set useSSL to true). Then Paho JavaScript client will establish a secure websocket connection (i.e. wss://) .
For two authentication, client requires a certificate to establish the connection.

Is it possible to use client authentication with a certificate instead of username/password with the Paho javascript client ? If so, how? please share the tutorials and documentation to proceed.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by reviewing the Paho JavaScript client's useSSL and secure WebSocket behavior, then verify whether browser-based client-certificate authentication is supported; done means providing accurate documentation or clearly stating the limitation and alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.