awslabs / awslabs/aws-crt-nodejs

AwsIotMqttConnectionConfigBuilder with `verify_peer` option

Open
#376 1 comment 1 reaction 0 assignees View on GitHub
CRT/IoT feature-request p3
Dominant language
TypeScript
Stars
43
Forks
32
Avg merge
1d 17h
Merged PRs (30d)
1

Description

I noticed that builder API for web-sockets allows you to pass in `TlsContextOptions`, `verify_peer` among them, but there is no such options for mTLS, forcing me to patch the package so I could use library locally with custom broker and self-signed certificates.

Would it be possible to expose `verify_peer` (and maybe other options that make sense) to mTLS config builder as well?

Contributor guide

Open the contributing guide

Research direction

Compare the AwsIotMqttConnectionConfigBuilder for mTLS with the web-socket builder's TlsContextOptions handling. Trace how verify_peer is exposed and passed through, then verify that the mTLS builder supports the requested option for custom brokers and self-signed certificates.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, node.js, typescript
Domain
api, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.