On Wed, 2012-03-07 at 03:15 -0800, becks007 wrote: > > olegk wrote: > > > > I believe that just registering an additional provider is not enough. > > One also needs to make it default. Try registering the provider as the > > most preferred one using the java.security.Security#insertProviderAt() > > method. If that does not help you may have to tweak provider settings in > > the java.security file. > > > > Hope this helps > > > > Oleg > > > > Thanks Oleg; Seems there needs to be a mechanism to set the > com.rsa.ssl.SSLParams required for the RSA library settings and providing > just provider won't be able to pick up the com.rsa.ssl.SSLParams in case > there is any customization on that. Like the trusted certificates are all > required to be set into com.rsa.ssl.SSLParams. > > Currently proceeding with customization of socket factory itself. > > Let me know if there could be any possible different approach. > > Regards > bekz
Please note one can always pass custom parameters to the SchemeSocketFactory#createSocket method and have different Socket initialization logic based on runtime parameters contained in HttpParams. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
