Mutual TLS
#1408
Replies: 1 comment
-
There is getNativeContext which returns SSL_CTX you can do anything with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for this excellent project.
For Mutual TLS we would like to optionally set SSL_VERIFY_FAIL_IF_NO_PEER_CERT in the call to SSL_CTX_set_verify in openssl.c like this:
SSL_CTX_set_verify(ssl_context, SSL_VERIFY_PEER | SSL_VERIFY_IF_NO_PEER_CERT, NULL);
Possibly a boolean ssl_verify_client flag could be added to SocketContextOptions to allow this.
Beta Was this translation helpful? Give feedback.
All reactions