public Properties propertiesWith(String components, String protocols,
      String ciphers, boolean requireAuth, boolean endPointIdentification)
      throws GeneralSecurityException, IOException {
    File trustStoreFile = File.createTempFile(storePrefix + "-TS-", ".jks");
    trustStoreFile.deleteOnExit();
    createTrustStore(trustStoreFile.getPath(), trustStorePassword);

    File keyStoreFile = File.createTempFile(storePrefix + "-KS-", ".jks");
    keyStoreFile.deleteOnExit();
    createKeyStore(keyStoreFile.getPath(), keyStorePassword);

    return propertiesWith(components, protocols, ciphers, trustStoreFile, trustStorePassword,
        keyStoreFile, keyStorePassword, requireAuth, endPointIdentification);
  }
The {@code CertStores} class encapsulates the key and trust stores typically used by various
components in a Geode cluster. It currently supports certificate collections for servers,
locators and clients. All certificates are signed by a single Root Certificate Authority.
geode-junit/src/main/java/org/apache/geode/cache/ssl/CertStores.java