@Override
    public void initWithNiwsConfig(IClientConfig clientConfig) {
        if (clientConfig == null) {
            return;
        }

        if (clientConfig.getOrDefault(CommonClientConfigKey.TrustStore) != null) {
            throw new IllegalArgumentException("Client configured with an AcceptAllSocketFactory cannot utilize a truststore");
        }
    }
In the case of this factory the intent is to ensure that a truststore is not set,
as this does not make sense in the context of an accept-all policy
ribbon-httpclient/src/main/java/com/netflix/http4/ssl/AcceptAllSocketFactory.java