code: public static SslContext forKeystore(String keystorePath, String keystorePassword, String keyManagerAlgorithm)
              throws SecurityContextException {
  
          try {
              return forKeystore(new FileInputStream(keystorePath), keystorePassword, keyManagerAlgorithm);
          } catch (Exception e) {
              throw new SecurityContextException(e);
          }
      }
docs: Builds SslContext using protected keystore file overriding default key manger algorithm. Adequate for non-mutual TLS connections.
  
  @param keystorePath Path for keystore file
  @param keystorePassword Password for protected keystore file
  @param keyManagerAlgorithm Algorithm for keyManager used to process keystorefile
  @return SslContext ready to use
  @throws SecurityContextException for any troubles building the SslContext