Too long time for initialize the SSL Context
843811Feb 22 2005 — edited Feb 23 2005I�m having problems initiliacing the SSL Context when opening a connection with a HTTPS server.
In my code i have wrote:
private SSLContext sc = null;
sc = SSLContext.getInstance("SSL", "SunJSSE");
sc.init(null, trustAllCerts,new java.security.SecureRandom());
in addittion to other lines.
The init method is taking 10 seconds.
Do you have any idea what could be wrong here?