fix typo
This commit is contained in:
parent
bdca75cd87
commit
801f81ec9b
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ For HTTPS, there a couple of tools you can use. Ordered from easiest to hardest:
|
||||||
|
|
||||||
### Other Connections
|
### Other Connections
|
||||||
|
|
||||||
For other kinds of SSL connections, you will need to find the root certificate being used by your host. You can check out [this StackExchange post](https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file) for numerous methods of acquiring this certificate from a server. If these methods are not sufficient, you may need to request this certificate from your network administrator. Once you have the certificate, convert it to PEM format if needed (I use [this website](https://www.sslshopper.com/ssl-converter.html)), and use the `pycert_bearssl.py convet --no-search` command to convert the certificate into a trust anchor header.
|
For other kinds of SSL connections, you will need to find the root certificate being used by your host. You can check out [this StackExchange post](https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file) for numerous methods of acquiring this certificate from a server. If these methods are not sufficient, you may need to request this certificate from your network administrator. Once you have the certificate, convert it to PEM format if needed (I use [this website](https://www.sslshopper.com/ssl-converter.html)), and use the `pycert_bearssl.py convert --no-search` command to convert the certificate into a trust anchor header.
|
||||||
|
|
||||||
## Using Trust Anchors
|
## Using Trust Anchors
|
||||||
|
|
||||||
|
@ -58,4 +58,4 @@ Once you've generated a trust anchor array, add it to your Arduino sketch using
|
||||||
SSLClient client(SomeClient, TAs, (size_t)TAs_NUM, SomePin);
|
SSLClient client(SomeClient, TAs, (size_t)TAs_NUM, SomePin);
|
||||||
// ...
|
// ...
|
||||||
```
|
```
|
||||||
Where `yourtrustanchorfile.h` contains a generated trust anchor array names `TAs`, with length `TAs_NUM`. BearSSL will now automatically use these trust anchors when `SSLClient::connect` is called.
|
Where `yourtrustanchorfile.h` contains a generated trust anchor array names `TAs`, with length `TAs_NUM`. BearSSL will now automatically use these trust anchors when `SSLClient::connect` is called.
|
||||||
|
|
Loading…
Reference in a new issue