Skip to content

Instantly share code, notes, and snippets.

@ic0ns
Last active January 17, 2020 09:37
This PoC runs on port 4433
Waiting for clients to connect
A client connected
The TLS handshake was completed successfully, getting to this point should already be impossible without the private key
The connection is validvalid:true
The connection needs client authentication:true
Cannot access peer certificate - it is detectable that the peer is not authenticated :(
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:1047)
at de.rub.nds.tls.server.Main.main(Main.java:69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment