-
Notifications
You must be signed in to change notification settings - Fork 381
Python client authentication example #768
Comments
cc: @lidizheng |
If you would like to enforce the client authentication, you can set the |
The solution I got to (which the API reference for ssl_channel_credentials was more helpful for) is to use these three flags:
Might be useful to have this example in the docs as well. |
Just to confirm, this only verifies that the client's certificate is signed by the root CA given, right? Is their anyway to verify the client CN against an expected CN? |
Yes. It depends on your server's setting of
Please check this unit test. The Python server handler will get a Does that answer your question? |
The authentication docs cover server authentication, but not client authentication. Is it possible to add a client authentication example to the docs. Does it require using other flags in
grpc.ssl_channel_credentials
?The text was updated successfully, but these errors were encountered: