Skip to content

Commit

Permalink
docs: clarify trust anchor notes in verifying section
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Oct 17, 2023
1 parent 78e7037 commit db33a77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,10 @@ client hellos are usually only a few hundred bytes.

#### Verifying TLS certificates

By default, rustls does not load any TLS certificates, not even the system
store, which means that TLS certificate verification will fail by default. You
are responsible for loading certificates using one of the following methods:
By default, rustls does not load any trust anchors (root certificates), not even
the system trust anchor store, which means that TLS certificate verification will
fail by default. You are responsible for loading certificates using one of the
following methods:

- `rustls_root_cert_store_add_pem`, which adds a single certificate to a root
store
Expand Down

0 comments on commit db33a77

Please sign in to comment.