private Optional<TlsConfiguration> rpcHttpTlsConfiguration() {
    if (!isRpcTlsConfigurationRequired()) {
      return Optional.empty();
    }

    rpcHttpTlsCipherSuites.retainAll(getJDKEnabledCipherSuites());

    return Optional.of(
        TlsConfiguration.Builder.aTlsConfiguration()
            .withKeyStorePath(rpcHttpTlsKeyStoreFile)
            .withKeyStorePasswordSupplier(
                new FileBasedPasswordProvider(rpcHttpTlsKeyStorePasswordFile))
            .withClientAuthConfiguration(rpcHttpTlsClientAuthConfiguration())
            .withSecureTransportProtocols(rpcHttpTlsProtocols)
            .withCipherSuites(rpcHttpTlsCipherSuites)
            .build());
  }
Checks dependencies between options.

@param logger Logger instance
@param commandLine CommandLine instance
app/src/main/java/org/hyperledger/besu/cli/options/JsonRpcHttpOptions.java