File tree 1 file changed +3
-3
lines changed
libraries/STM32H747_System/examples/WiFiFirmwareUpdater
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
13
13
> [ !NOTE]
14
14
> Pre-requisites: ` xxd ` , GNU Tools (Use g-tools on MacOS: e.g., ` gtail ` , ` ghead ` )
15
15
```
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
17
17
```
18
18
## Listing certifcates in ` certificates.h `
19
19
20
20
> [ !NOTE]
21
21
> Pre-requisites: ` openssl `
22
22
23
23
```
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
25
25
openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs | grep '^subject'
26
26
```
27
27
@@ -31,5 +31,5 @@ openssl crl2pkcs7 -nocrl -certfile cacert.pem | openssl pkcs7 -print_certs | gre
31
31
> The PEM file for the root CA to add, e.g., ` new_root.pem `
32
32
33
33
```
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
35
35
```
You can’t perform that action at this time.
0 commit comments