You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documents/MQTT5_Userguide.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@
19
19
*[Direct MQTT with X509-based mutual TLS](#direct-mqtt-with-x509-based-mutual-tls)
20
20
*[MQTT over Websockets with Sigv4 authentication](#mqtt-over-websockets-with-sigv4-authentication)
21
21
*[Direct MQTT with Custom Authentication](#direct-mqtt-with-custom-authentication)
22
-
*[Direct MQTT with PKCS11](#direct-mqtt-with-pkcs11-method)
23
-
*[Direct MQTT with PKCS12](#direct-mqtt-with-pkcs12-method)
22
+
*[Direct MQTT with PKCS11 (Unix Only)](#direct-mqtt-with-pkcs11-method-unix-only)
23
+
*[Direct MQTT with PKCS12 (macOS Only)](#direct-mqtt-with-pkcs12-method-macos-only)
24
24
*[Direct MQTT with Windows Certificate Store Method](#direct-mqtt-with-windows-certificate-store-method)
25
25
*[HTTP Proxy](#http-proxy)
26
26
*[Browser](#browser)
@@ -263,7 +263,7 @@ token-signing fields to the value of the username that you assign within the cus
263
263
add any custom authentication related values to the username in the CONNECT configuration optionally attached to the client configuration.
264
264
The builder will do everything for you.
265
265
266
-
#### Direct MQTT with PKCS11 Method
266
+
#### Direct MQTT with PKCS11 Method (Unix Only)
267
267
268
268
A MQTT5 direct connection can be made using a PKCS11 device rather than using a PEM encoded private key, the private key for mutual TLS is stored on a PKCS#11 compatible smart card or Hardware Security Module (HSM). To create a MQTT5 builder configured for this connection, see the following code:
269
269
@@ -286,7 +286,7 @@ A MQTT5 direct connection can be made using a PKCS11 device rather than using a
286
286
287
287
Note: Currently, TLS integration with PKCS#11 is only available on Unix devices.
288
288
289
-
#### Direct MQTT with PKCS12 Method
289
+
#### Direct MQTT with PKCS12 Method (macOS only)
290
290
291
291
A MQTT5 direct connection can be made using a PKCS12 file rather than using a PEM encoded private key. To create a MQTT5 builder configured for this connection, see the following code:
Copy file name to clipboardExpand all lines: samples/node/mqtt/mqtt5_aws_websocket/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,14 @@ Note that in a real application, you may want to avoid the use of wildcards in y
65
65
66
66
</details>
67
67
68
+
### Determining your signing region
69
+
70
+
The `signing_region` parameter specifies the AWS region used to sign WebSocket connection requests via [SigV4 authentication](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). It must match the region of your AWS IoT Core endpoint.
71
+
For example, if your endpoint is `abcdef12345-ats.iot.us-west-2.amazonaws.com`, the signing region is `us-west-2`.
72
+
68
73
## How to run
69
74
70
-
To Run this sample from the `samples/node/mqtt/aws_websocket` folder, use the following command:
75
+
To Run this sample from the `samples/node/mqtt/mqtt5_aws_websocket` folder, use the following command:
0 commit comments