static SslContext buildSslContext(
            Supplier<SslContextBuilder> sslContextBuilderSupplier,
            TlsEngineType tlsEngineType,
            boolean tlsAllowUnsafeCiphers,
            @Nullable Consumer<? super SslContextBuilder> tlsCustomizer) {
        return SslContextUtil
                .createSslContext(sslContextBuilderSupplier,/* forceHttp1 */ false, tlsEngineType,
                                  tlsAllowUnsafeCiphers, tlsCustomizer, null);
    }
Makes sure the specified {@link SslContext} is configured properly. If configured as client context or
key store password is not given to key store when {@link SslContext} was created using
{@link KeyManagerFactory}, the validation will fail and an {@link IllegalStateException} will be raised.
core/src/main/java/com/linecorp/armeria/server/ServerSslContextUtil.java