Forked off from https://github.com/micw/ArduinoProjekte/blob/b7e308533d20c9d23fda5e08899c22afd1dc1303/java/ArduinoHomeServer/src/main/java/tools/SSLTrustCa.java
Helps to add LetsEncrypt to current JVM instance's keystore so we can access api.indix.com. This change has no effect
if the host JVM is >= JDK8u101, since this is already part of them.
References
- http://stackoverflow.com/questions/3508050/how-can-i-get-a-list-of-trusted-root-certificates-in-java/3508175#3508175
- http://stackoverflow.com/questions/34110426/does-java-support-lets-encrypt-certificates
- https://community.letsencrypt.org/t/will-the-cross-root-cover-trust-by-the-default-list-in-the-jdk-jre/134/37