Skip to content

Commit

Permalink
Add instructions for key files in the mTLS example
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiBargu committed Mar 19, 2024
1 parent 7916d85 commit e692cd7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/features/encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ successfully up.
In mutual TLS (mTLS), the client and the server authenticate each other. gRPC
allows users to configure mutual TLS at the connection level.

In this example, we use the public/private keys created ahead:

* "server_cert.pem" contains the server certificate (public key).
* "server_key.pem" contains the server private key.
* "ca_cert.pem" contains the certificate (certificate authority) that can verify the server's certificate.
* "client_cert.pem" contains the client certificate (public key).
* "client_key.pem" contains the client private key.
* "client_ca_cert.pem" contains the certificate (certificate authority) that can verify the client's certificate.

In normal TLS, the server is only concerned with presenting the server
certificate for clients to verify. In mutual TLS, the server also loads in a
list of trusted CA files for verifying client presented certificates with.
Expand Down

0 comments on commit e692cd7

Please sign in to comment.