Hint for Missing Certificate in Java Runtime or JDK


after i ordered and installed my first certificate for my website i recognized that not all clients can establish connections to my server. For example a few java clients have none of those certificates bundled (Oracle jdk 1.8 51).

This can lead to this exception:

After a quick search i found a convenient solution. There is a java source class spread over the web that can download and install certificates from any website and install it to your java folder.

In the future i expect many people to use my server so i packed this freely floating class inside a maven project for even easier execution 😉 I am propably the thousandth who had done this but i love maven. The project is hosted on github and anyone can clone and run it.


Hint: run as user with higher privileges (sudo on linux and in a Administrator cmd on windows).

More information is available in the readme and pom-description inside the project.

Hope this helps,

cheers luke

more info