public static Optional<PfxOptions> getPfxKeyStoreOptions(final Map<String, String> props) {
    // PFX key stores do not have a Private key password
    final String location = getKeyStoreLocation(props);
    final String password = getKeyStorePassword(props);

    if (!Strings.isNullOrEmpty(location)) {
      return Optional.of(buildPfxOptions(location, password));
    }

    return Optional.empty();
  }
@Test
  public void shouldBuildKeyStorePfxOptionsWithPathOnly() {
    // When
    final Optional<PfxOptions> pfxOptions = VertxSslOptionsFactory.getPfxKeyStoreOptions(
        ImmutableMap.of(
            SslConfigs.SSL_KEYSTORE_LOCATION_CONFIG,
            "path"
        )
    );

    // Then
    assertThat(pfxOptions.get().getPath(), is("path"));
    assertThat(pfxOptions.get().getPassword(), is(""));
  }