Anyway, adding the root certificate to this store solved the infamous javax.net.ssl. SSLHandshakeException: sun.security.validator.
stackoverflow.com