-
-
Notifications
You must be signed in to change notification settings - Fork 708
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
Two way TLS handshake error #1003
Labels
bug
Something isn't working
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
warp = {version = "0.3.3", features = ["tls"]}
Platform
macOS 12.5
Description
I am trying to setup dual TLS for warp, however the TLS handshake fails on client authorization.
Code snippet:
Private keys and certificate generation (separately in
client
andserver
folders):To test:
run
openssl s_client -connect localhost:9100 -cert client/cert.pem -key client/rsaprivkey.pem -CAfile server/cert.pem -debug
output:
OR
run
curl -k -iv --cert client/cert.pem --key client/rsaprivkey.pem --cacert server/cert.pem https://localhost:9100
output:
Everything works fine when I disable client authentication. It may be that I misunderstand the way dual TLS should be used, but I spent a lot of time trying to make this work (including different ways and types of ssl keys and certificates)
The text was updated successfully, but these errors were encountered: