File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libraries/STM32H747_System/examples/WiFiFirmwareUpdater Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ xxd -i cacert.pem -n cacert_pem | sed 's/^unsigned/const unsigned/g' > certifica
1313> [ !NOTE]
1414> Pre-requisites: ` xxd ` , GNU Tools (Use g-tools on MacOS: e.g., ` gtail ` , ` ghead ` )
1515```
16- cat certificates.h | tail -n +2 | head -n -2 | head -c -7 | xxd -r -p > cacert.pem
16+ cat certificates.h | tail -n +2 | head -n -2 | xxd -r -p > cacert.pem
1717```
1818## Listing certifcates in ` certificates.h `
1919
2020> [ !NOTE]
2121> Pre-requisites: ` openssl `
2222
2323```
24- cat certificates.h | tail -n +2 | head -n -2 | head -c -7 | xxd -r -p > cacert.pem
24+ cat certificates.h | tail -n +2 | head -n -2 | xxd -r -p > cacert.pem
2525openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs | grep '^subject'
2626```
2727
@@ -31,5 +31,5 @@ openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs | gre
3131> The PEM file for the root CA to add, e.g., ` new_root.pem `
3232
3333```
34- cat certificates.h | tail -n +2 | head -n -2 | head -c -7 | xxd -r -p | cat - new_root.pem | xxd -n cacert_pem -i | sed 's/^unsigned/const unsigned/g' > certificates.h
34+ cat certificates.h | tail -n +2 | head -n -2 | xxd -r -p | cat - new_root.pem | xxd -n cacert_pem -i | sed 's/^unsigned/const unsigned/g' > certificates.h
3535```
You can’t perform that action at this time.
0 commit comments