Skip to content

Commit e692cd7

Browse files
committed
Add instructions for key files in the mTLS example
1 parent 7916d85 commit e692cd7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/features/encryption/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ successfully up.
9090
In mutual TLS (mTLS), the client and the server authenticate each other. gRPC
9191
allows users to configure mutual TLS at the connection level.
9292

93+
In this example, we use the public/private keys created ahead:
94+
95+
* "server_cert.pem" contains the server certificate (public key).
96+
* "server_key.pem" contains the server private key.
97+
* "ca_cert.pem" contains the certificate (certificate authority) that can verify the server's certificate.
98+
* "client_cert.pem" contains the client certificate (public key).
99+
* "client_key.pem" contains the client private key.
100+
* "client_ca_cert.pem" contains the certificate (certificate authority) that can verify the client's certificate.
101+
93102
In normal TLS, the server is only concerned with presenting the server
94103
certificate for clients to verify. In mutual TLS, the server also loads in a
95104
list of trusted CA files for verifying client presented certificates with.

0 commit comments

Comments
 (0)