RomeAdapter uses deprecated HTTPClient APIs that prevent it from establishing some SSL connections
drewwills opened this issue · 1 comments
drewwills commented
Here is an issue ticket from the Eureka project that seems to capture our situation well...
Here is the place in the Spring context where we create the httpClient
bean...
DefaultHttpClient
is deprecated; we're meant to use HttpClientBuilder
.
bjagg commented
Some useful links:
- https://www.chronicle.com/section/News/6/rss (another example feed)
- https://stackoverflow.com/questions/39762760/javax-net-ssl-sslexception-certificate-doesnt-match-any-of-the-subject-alterna
- rest-assured/rest-assured#497
- https://www.springbyexample.org/examples/contact-rest-services-client.html
- https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/apidocs/org/apache/http/impl/client/DecompressingHttpClient.html
- https://hc.apache.org/httpcomponents-client-4.5.x/tutorial/html/connmgmt.html
- https://stackoverflow.com/questions/20340470/how-to-spring-ioc-and-httpclient-4-3-1-closeablehttpclient