

SchemeRegistry sslSchemeRegistry = new SchemeRegistry() loadTrustMaterial(trustStore, new TrustSelfSignedStrategy()) SSLConnectionSocketFactory systemSocketFactory = new SSLConnectionSocketFactory(


TrustStore.load(new FileSystemResource(trustStorePath).getInputStream(), trustStorePassword.toCharArray())
#NETFLIX CLIENT CERTIFICATE CODE#
I'm trying to overwrite default SSL configuration for Eureka Client using NoopHostnameVerifier but for some reason still trying to verify the hostname, anyone could help me on that please?įollowed code example from SslNoopHostnameVerifierConfiguration String String String Integer Discover圜lient.Discover圜lientOptionalArgs getTrustStoredEurekaClient()įinal KeyStore trustStore = KeyStore.getInstance(trustStoreType)
