Package noaa.coastwatch.net
Class NetworkServices
java.lang.Object
noaa.coastwatch.net.NetworkServices
The NetworkServices class defines various static methods relating
to network operations.
- Since:
- 3.5.1
- Author:
- Peter Hollemans
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Sets up the javax.net.ssl.HttpsURLConnection class with a default SSL socket factory and host name verifier that accepts SSL certificate chains without validating them.
-
Method Details
-
setupTrustingSSLManager
public static void setupTrustingSSLManager()Sets up the javax.net.ssl.HttpsURLConnection class with a default SSL socket factory and host name verifier that accepts SSL certificate chains without validating them. This should only be done as a last resort override if the existing system fails to validate the certificate.
-