public static Config getConfig(
            Configuration configuration, @Nullable HostAndPort externalAddress) {
        return getConfig(
                configuration,
                externalAddress,
                null,
                PekkoUtils.getForkJoinExecutorConfig(
                        ActorSystemBootstrapTools.getForkJoinExecutorConfiguration(configuration)));
    }
@Test
    void getConfigCustomKeyOrTruststoreType() {
        final Configuration configuration = new Configuration();
        configuration.set(SecurityOptions.SSL_INTERNAL_ENABLED, true);
        configuration.set(SecurityOptions.SSL_INTERNAL_KEYSTORE_TYPE, "JKS");
        configuration.set(SecurityOptions.SSL_INTERNAL_TRUSTSTORE_TYPE, "JKS");

        final Config config =
                PekkoUtils.getConfig(configuration, new HostAndPort("localhost", 31337));
        final Config securityConfig = config.getConfig("pekko.remote.classic.netty.ssl.security");
        assertThat(securityConfig.getString("key-store-type")).isEqualTo("JKS");
        assertThat(securityConfig.getString("trust-store-type")).isEqualTo("JKS");
    }