Connection with ssl fails with java.security.KeyStoreException: jks not found

The problem solved with adding below line to builder.

builder.setKeystoreType(null);