aldaris / docbook-linktester

Tests external links and olinks in DocBook documentation for validity
3 stars 1 forks source link

TrustAll SSLSocketFactory shouldn't be set globally across the JVM #9

Closed aldaris closed 9 years ago

aldaris commented 9 years ago

Currently HttpsURLConnection#setDefaultSSLSocketFactory is being used in LinkTester, however this will set the SSLSocketFactory globally across the JVM for all future outgoing connections. This doesn't seem to be too secure, and hence the code should be changed to set the SSLSocketFactory per connection instead.