public static void addSSLProperties(Properties props, String sslEnabledDatacenters, SSLFactory.Mode mode,
      File trustStoreFile, String certAlias) throws IOException, GeneralSecurityException {
    addSSLProperties(props, sslEnabledDatacenters, mode, trustStoreFile, certAlias, SSL_CONTEXT_PROVIDER);
  }
Generate a cert and add SSL related properties to {@code props}. This will use {@link #SSL_CONTEXT_PROVIDER} as the
provider for SSL routines/libraries.
@param props the {@link Properties} instance.
@param sslEnabledDatacenters a comma separated list of datacenters where SSL should be enabled.
@param mode whether to generate the "client" or "server" certificate.
@param trustStoreFile the file path at which to create the trust store.
@param certAlias the cert alias to use.
@throws IOException
@throws GeneralSecurityException
ambry-test-utils/src/main/java/com/github/ambry/commons/TestSSLUtils.java