SSLHandshakeException with jlink created runtime

One could also just add --bind-services (Link in service provider modules and their dependences) to the jlink command. But according to my experience this will make the resulting runtime much bigger. But at least this is an option to quickly find out whether observed problems are due to a missing Service implementation.


I had to add jdk.crypto.ec and jdk.crypto.cryptoki as well.


As rich mentions in a comment

Hmmn. If I add jdk.crypto.ec it works - why would jdeps have left that one out, if that one, would there be any others it's left out?

adding jdk.crypto.ec to the modules list solved the problem.