Fix local ca includes

This commit is contained in:
Theo Arends 2022-06-02 17:14:05 +02:00
parent 2370327395
commit 25f8674106
3 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ is located.
./brssl ta pki/ca.crt | sed -e '/br_x509/,+999 d' >local_ca_data.h ./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: Add this line to user_config_override.h:

View File

@ -18,14 +18,14 @@
*/ */
/* /*
To generate a version of this file containing data for your root certificate, 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 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 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 ./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: Add this line to user_config_override.h:

View File

@ -189,7 +189,7 @@ const br_x509_trust_anchor PROGMEM Tasmota_TA[] = {
#if defined(INCLUDE_LOCAL_CERT) #if defined(INCLUDE_LOCAL_CERT)
#include <local_ca_descriptor.h> #include <include/local_ca_descriptor.h>
#endif #endif
}; };