mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
Nit
This commit is contained in:
1 parent
65a7996ef9
commit
4aa0a243f9
1 file changed
+4
-4
@@ -49,8 +49,8 @@ the [HiveMQ Websocket Client](https://www.hivemq.com/demos/websocket-client/):
|
||||
6. Set `TLS_KEY` and `TLS_CRT` with the output of this commands:
|
||||
|
||||
```sh
|
||||
sed 's/\r$//; s/._/ "&\\n"/; $!s/$/ \\/' device.key
|
||||
sed 's/\r$//; s/._/ "&\\n"/; $!s/$/ \\/' device.crt
|
||||
sed 's/\r$//; s/.*/ "&\\n"/; $!s/$/ \\/' device.key
|
||||
sed 's/\r$//; s/.*/ "&\\n"/; $!s/$/ \\/' device.crt
|
||||
```
|
||||
7. Add to your `mongoose_config.h`:
|
||||
```c
|
||||
@@ -87,8 +87,8 @@ openssl x509 -in device.crt -noout -fingerprint -sha256 | tr -d ':' | cut -d= -f
|
||||
7. Set `TLS_KEY` and `TLS_CRT` with the output of this commands:
|
||||
|
||||
```sh
|
||||
sed 's/\r$//; s/._/ "&\\n"/; $!s/$/ \\/' device.key
|
||||
sed 's/\r$//; s/._/ "&\\n"/; $!s/$/ \\/' device.crt
|
||||
sed 's/\r$//; s/.*/ "&\\n"/; $!s/$/ \\/' device.key
|
||||
sed 's/\r$//; s/.*/ "&\\n"/; $!s/$/ \\/' device.crt
|
||||
```
|
||||
|
||||
8. In Azure EG, go to Instance / MQTT Broker / Topic spaces, add "space1" with `mg/#` pattern
|
||||
|
||||
Reference in new issue
Block a user