-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/http3_client.py: support to send client certificate to server? #498
Comments
if you just load the certificate in the QUIC config in the usual way, it should use it if asked by the server. |
@rthalley how to load client certificate with examples/http3_client.py? |
examples/http3_client.py doesn't have command line support for it, but if you look at examples/http3_server.py and take this line:
That's how you do it. To add this to the client you'd need the parser.add_argument() calls for -c and -k from the server code, though you can remove required=True as they are optional in the client. Since they are optional, you should only call load_cert_chain() if they are both not empty. |
No description provided.
The text was updated successfully, but these errors were encountered: