Resolving a custom socket implementation error

You may receive an exception similar to the following while trying to set up an SSL socket when calling sun.security.ssl.SSLSocketImpl.setEnabledCipherSuites:

java.lang.IllegalArgumentException:
 SSL_SH_anon_EXPORT_WITH_RC4_40_MDS

Verify that the SSL libraries are in the system library path.