private static KeyStore loadKeyStore(InputStream inputStream) throws IOException {
    try {
      KeyStore keyStore = KeyStore.getInstance("JKS");
      keyStore.load(inputStream, KEYSTORE_PASSWORD);
      return keyStore;
    } catch (Exception e) {
      throw new RuntimeException(e);
    } finally {
      inputStream.close();
    }
  }
Used for ssl tests to simplify setup.
core/src/test/java/feign/client/TrustingSSLSocketFactory.java