What I discovered were different in the logs several messages like: trigger seeding of SecureRandom done seeding SecureRandom keystore is: KeyStore type is: jks KeyStore provider is: init keystore init keymanager of type SunX509 truststore is: E: \ Program Files \ Java \ jdk1.6.0_14 \ jre \ lib \ security \ cacerts truststore type is: jks truststore provider is: init truststore adding the trusted cert: Subject: CN = SwissSign Platinum CA - G2, O = SwissSign AG, C = CH Issuer: CN = SwissSign Platinum CA - G2, O = SwissSign AG, C = CH Algorithm: RSA; Serial number: 0x4eb200670c035d4f Valid from Fri Oct 25 05:36:00 GMT-03: 00 2006 Until Sat Oct 25 05:36:00 GMT-03: 00 2036
adding the trusted cert: ... adding the trusted cert: ... preceding the passage which is common to both: trigger seeding of SecureRandom done seeding SecureRandom main, setSoTimeout (60000) called (after this line the system wait 5 seconds) %% No cached client session *** ClientHello, TLSv1 olegk wrote: > > On Fri, 2010-08-27 at 11:36 -0700, jhinckel wrote: >> I updated HttpClient 3.0 to 4.1 and I have a problem with https >> connections >> that take 5 seconds between synchronize and handshake message. >> This delay does not occur with old version. >> I'm using preemptive authentication and accepting all certificates. >> >> Anybody can help me? >> > > Both versions use exactly the same standard Java JSSE extension for > SSL/TLS transport security. Try using the standard SSL debug facility to > find out if there are any differences in the way different versions of > HttpClient handle the SSL handshake process. > > http://download.oracle.com/javase/1.5.0/docs/guide/security/jsse/ReadDebug.html > > Oleg > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/5-seconds-to-handshake-with-https-connection-tp29555624p29577440.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
