Skip to content

Commit 3fc40af

Browse files
authored
Merge pull request #1457 from Noschvie/patch-8
Formatting corrected
2 parents a8639aa + 1f252f9 commit 3fc40af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/Self-signed-Mosquitto.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mv easyrsa tmprsa
6767
tr -d '\r' <tmprsa >easyrsa
6868
```
6969

70-
#### 1.2. Define your certificate information
70+
#### 1.2. Define your certificate information
7171

7272
The commands below may be copied and pasted into a terminal window, then the resulting file, `vars` edited as appropriate.
7373

@@ -87,7 +87,7 @@ set_var EASYRSA_DN "org"
8787
8888
# Organizational fields (used with 'org' mode and ignored in 'cn_only' mode.)
8989
# These are the default values for fields which will be placed in the
90-
# certificate. Don't leave any of these fields blank, although interactively
90+
# certificate. Don't leave any of these fields blank, although interactively
9191
# you may omit any specific field by typing the "." symbol (not valid for
9292
# email.)
9393
@@ -98,7 +98,7 @@ set_var EASYRSA_REQ_ORG "myorg"
9898
set_var EASYRSA_REQ_EMAIL "info@myorg.com"
9999
set_var EASYRSA_REQ_OU "MQTT"
100100
101-
# Choose a size in bits for your keypairs. The recommended value is 2048. Using
101+
# Choose a size in bits for your keypairs. The recommended value is 2048. Using
102102
# 2048-bit keys is considered more than sufficient for many years into the
103103
# future. Larger keysizes will slow down TLS negotiation and make key/DH param
104104
# generation take much longer. Values up to 4096 should be accepted by most
@@ -208,7 +208,7 @@ Add the following to `user_config_override.h`:
208208
```
209209
#ifndef USE_MQTT_TLS
210210
#define USE_MQTT_TLS
211-
// #define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake)
211+
// #define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake)
212212
#define USE_MQTT_AWS_IOT // This includes the LetsEncrypt CA in tasmota_ca.ino for verifying server certificates
213213
#define USE_MQTT_TLS_FORCE_EC_CIPHER // Force Elliptic Curve cipher (higher security) required by some servers (automatically enabled with USE_MQTT_AWS_IOT) (+11.4k code, +0.4k mem)
214214
#define MQTT_FINGERPRINT1 "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00" // [MqttFingerprint1] (auto-learn)
@@ -221,7 +221,7 @@ Add the following to `user_config_override.h`:
221221
```
222222
#ifndef USE_MQTT_TLS
223223
#define USE_MQTT_TLS
224-
#define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake)
224+
#define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake)
225225
#define USE_MQTT_AWS_IOT // This will include LetsEncrypt CA, as well as our CA, in tasmota_ca.ino for verifying server certificates
226226
#define USE_MQTT_TLS_FORCE_EC_CIPHER // Force Elliptic Curve cipher (higher security) required by some servers (automatically enabled with USE_MQTT_AWS_IOT) (+11.4k code, +0.4k mem)
227227
#define INCLUDE_LOCAL_CERT
@@ -330,7 +330,7 @@ To start Mosquitto on Windows, either use the services snap-in (`services.msc`),
330330
net start mosquitto
331331
```
332332

333-
### 6. - Generate and configure certificates for your devices
333+
### 6. Generate and configure certificates for your devices
334334

335335
!!! failure "Repeated step" Repeat the following 6.x steps once for every device, changing tasmota_name for each device. You will be prompted for a private key password for each device.
336336

0 commit comments

Comments
 (0)