badass-runtime-plugin icon indicating copy to clipboard operation
badass-runtime-plugin copied to clipboard

[🐛BUG] handshake_failure with custom jre

Open ErrorxCode opened this issue 3 years ago • 0 comments

Problem

Since java 11, HttpClient has been introduced. It is an implementation of HTTP URL connection as a client with standard java API. However, this API requires an extra module i.e jdk.crypto.ec in the JRE. Without that, it can not talk to a server that has an elliptic curve certificate. You will get a handshake_failure error when trying to talk to a server running with this.

Solution

Just add jdk.crypto.ec in default module list for creating custom runtime.

Reference

ErrorxCode avatar May 09 '22 19:05 ErrorxCode