From f30f46718dc0a62b81fb85cd3c4f0d32a55dc59a Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Tue, 6 Aug 2019 11:23:44 +0200 Subject: [PATCH] Updated AWS IoT (markdown) --- AWS-IoT.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/AWS-IoT.md b/AWS-IoT.md index e84da12b..e7ffde35 100644 --- a/AWS-IoT.md +++ b/AWS-IoT.md @@ -202,7 +202,7 @@ If you need to reset the key store, use the command `TLSKey 0`. We will extract the 32 bytes Private key from `tasmota-01.key` generated above. -Simple method, use the following command: (fake key below) +1-line method, use the following command: (fake key below) `openssl ec -in tasmota-01.key -inform PEM -outform DER | openssl asn1parse -inform DER | head -3 | tail -1 | awk -F':' '{ print $4 }' | xxd -r -p | base64 | echo "TLSKey1 $(` and replace `` with the content of `tasmota-01.cert.b64`. + ### Step 9. Configure Tasmota device This is the last step, you need to configure the MQTT parameters. The easiest way is through the web console.