diff --git a/tasmota/include/local_ca_data_sample.h b/tasmota/include/local_ca_data_sample.h index 93e286344..2d874a0c8 100644 --- a/tasmota/include/local_ca_data_sample.h +++ b/tasmota/include/local_ca_data_sample.h @@ -25,7 +25,7 @@ is located. ./brssl ta pki/ca.crt | sed -e '/br_x509/,+999 d' >local_ca_data.h -Then copy local_ca_data.h into the same directory as user_config_override. +Then copy local_ca_data.h into directory include. Add this line to user_config_override.h: diff --git a/tasmota/include/local_ca_descriptor_sample.h b/tasmota/include/local_ca_descriptor_sample.h index 3b9ee2cb3..cafe455f7 100644 --- a/tasmota/include/local_ca_descriptor_sample.h +++ b/tasmota/include/local_ca_descriptor_sample.h @@ -18,14 +18,14 @@ */ /* -To generate a version of this file containing data for your root certificate, -run the following command from a Linux or Cygwin bash shell, assuming that a +To generate a version of this file containing data for your root certificate, +run the following command from a Linux or Cygwin bash shell, assuming that a copy of brssl (or brssl.exe) is in the directory where the EasyRSA shell script -is located. +is located. ./brssl ta pki/ca.crt | sed -e '1,/br_x509/ d' -e '/};/,+999 d' >local_ca_descriptor.h -Then copy local_ca_descriptor.h into the same directory as user_config_override. +Then copy local_ca_descriptor.h into directory include. Add this line to user_config_override.h: diff --git a/tasmota/tasmota_support/tasmota_ca.ino b/tasmota/tasmota_support/tasmota_ca.ino index c34e4ba12..03091aa3e 100644 --- a/tasmota/tasmota_support/tasmota_ca.ino +++ b/tasmota/tasmota_support/tasmota_ca.ino @@ -189,7 +189,7 @@ const br_x509_trust_anchor PROGMEM Tasmota_TA[] = { #if defined(INCLUDE_LOCAL_CERT) -#include +#include #endif };