Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0u4r-0008V7-O4 for pgsql-jdbc@arkaria.postgresql.org; Thu, 31 Jan 2013 13:21:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U0u4r-0004mk-80 for pgsql-jdbc@arkaria.postgresql.org; Thu, 31 Jan 2013 13:21:17 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0u4p-0004me-CO for pgsql-jdbc@postgresql.org; Thu, 31 Jan 2013 13:21:15 +0000 Received: from szxga01-in.huawei.com ([119.145.14.64]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U0u4j-0007yZ-Ji for pgsql-jdbc@postgresql.org; Thu, 31 Jan 2013 13:21:14 +0000 Received: from 172.24.2.119 (EHLO szxeml206-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id AWY81204; Thu, 31 Jan 2013 21:21:02 +0800 (CST) Received: from SZXEML405-HUB.china.huawei.com (10.82.67.60) by szxeml206-edg.china.huawei.com (172.24.2.59) with Microsoft SMTP Server (TLS) id 14.1.323.7; Thu, 31 Jan 2013 21:20:57 +0800 Received: from blrprnc07ns (10.18.96.96) by szxeml405-hub.china.huawei.com (10.82.67.60) with Microsoft SMTP Server id 14.1.323.7; Thu, 31 Jan 2013 21:20:54 +0800 From: Hari Babu To: "'dmp'" CC: "'List'" References: <51068542.845c2b0a.7fd0.68b2SMTPIN_ADDED_BROKEN@mx.google.com> <00a401cdfdde$db9737e0$92c5a7a0$@kommi@huawei.com> <5107FBCA.3040107@ttc-cmc.net> In-Reply-To: <5107FBCA.3040107@ttc-cmc.net> Subject: Re: JDBC connection test with SSL on PG 9.2.1 server Date: Thu, 31 Jan 2013 18:50:53 +0530 Message-ID: <007601cdffb5$cc4834a0$64d89de0$@kommi@huawei.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0077_01CDFFE3.E60070A0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac3+P7gtEop+WUrHQLKK0+Q27MxgHABc4Z2w Content-Language: en-us x-cr-hashedpuzzle: AlvA CInl FUBj F0Jf HMYH HUMf IOOm J9D3 KpJq L4ML M6JQ SXGu Tc5r T4d8 Uk5L VHzr; 2; ZABhAG4AYQBwAEAAdAB0AGMALQBjAG0AYwAuAG4AZQB0ADsAcABnAHMAcQBsAC0AagBkAGIAYwBAAHAAbwBzAHQAZwByAGUAcwBxAGwALgBvAHIAZwA=; Sosha1_v1; 7; {4CC4EEDA-7DDA-4769-9B78-420BD3CB9D87}; aABhAHIAaQBiAGEAYgB1AC4AawBvAG0AbQBpAEAAaAB1AGEAdwBlAGkALgBjAG8AbQA=; Thu, 31 Jan 2013 13:20:46 GMT; UgBFADoAIABbAEoARABCAEMAXQAgAEoARABCAEMAIABjAG8AbgBuAGUAYwB0AGkAbwBuACAAdABlAHMAdAAgAHcAaQB0AGgAIABTAFMATAAgAG8AbgAgAFAARwAgADkALgAyAC4AMQAgAHMAZQByAHYAZQByAA== x-cr-puzzleid: {4CC4EEDA-7DDA-4769-9B78-420BD3CB9D87} X-Originating-IP: [10.18.96.96] X-CFilter-Loop: Reflected X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org ------=_NextPart_000_0077_01CDFFE3.E60070A0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tuesday, January 29, 2013 10:12 PM danap wrote: >Hari Babu wrote: >> On Monday, January 28, 2013 10:20 PM, Dave Cramer wrote: >> >> >>On Mon, Jan 28, 2013 at 9:03 AM, Hari Babu > > wrote: >> >> >>While testing PostgreSQL JDBC java client to connect to the PG 9.2.1 >> >>database server using SSL. >> >>we got the following behavior. >> >> >> >>The test steps as below=EF=BC=9A >> >> >> >>url =3D "jdbc:postgresql://" + "10.145.98.227" + ':' >> >> + "8707" + '/' >> >> + "POSTGRES"; >> >> Properties props =3D new Properties(); >> >> props.setProperty("user", "CLIENT"); >> >> props.setProperty("password", "1234@QWER"); >> >> props.setProperty("ssl", "true"); >> >> >> >> System.setProperty("javax.net.ssl.trustStore", "193store"); >> >> System.setProperty("javax.net.ssl.keyStore", "193client.jks"); >> >> System.setProperty("javax.net.ssl.trustStorePassword", "qwerty"); >> >> System.setProperty("javax.net.ssl.keyStorePassword", "qwerty"); >> >> >> >> /*Begin the first ssl connection*/ >> >> conn1 =3D DriverManager.getConnection(url, props); >> >> System.out.println("Connection1 successful!"); >> >> >> >> >> >> System.setProperty("javax.net.ssl.trustStore", "193store"); >> >> System.setProperty("javax.net.ssl.keyStore", "193client.jks"); >> >> System.setProperty("javax.net.ssl.trustStorePassword", "qwerty"); >> >> System.setProperty("javax.net.ssl.keyStorePassword", "wrongpassword"= ); >> >> >> >> /*Begin the second ssl connection*/ >> >> conn2 =3D DriverManager.getConnection(url, props); >> >> System.out.println("Connection2 successful!"); >> >> >> >>Before first connection we set >> >>"System.setProperty("javax.net.ssl.keyStorePassword", "qwerty");" >> qwerty is >> >>the right password >> >>and before second SSL connection we set >> >>"System.setProperty("javax.net.ssl.keyStorePassword", "wrongpassword"= );" >> >>wrongpassword is the wrong password. >> >> >> >>we expect the first SSL connection will be successful and second fail= ed >> >>because of wrong password, but actually we get two successful SSL >> >>connections. >> >>We found that if the first SSL connections password set right, all the >> >>following SSL connections are fine ,even set wrong keystroke password. >> >> >> >>1. Is this a defect about JDBC? >> >>2. Is it SSL behavior to authenticate only once? >> >>3. Is it system property behavior can be set only once. >> >>4. Is it because of any other problems? >> >> >> >>please give your suggestions? >> >> >JDBC uses java's SSL infrastructure, as such I don't think it's a >> defect in JDBC. It could be because your truststore >does not require a >> password. >> >> I removed the trustStorePassword setting from the test, still the second >> connection is getting success with the wrong >> >> keyStorePassword. >Can you please set the property logLevel=3D1, INFO >and then reply back with the output. You may also >try logLevel=3D2, DEBUG for additional information. How to set logLevel=3D1 INFO and logLevel =3D2 DEBUG. Is it is JDBC logging= or something else? We tried to get the SSL specific log by setting the system property for jav= ax.net.debug as=20 "ssl" (system.setProperty("javax.net.debug", "ssl"). With this we got conne= ction logs for each of the connection which are attached in the mail.=20 For the first connection, it is opening the keys file and then does init fo= r keyStore and trustStore. But incase of second connection it just uses the= previous cached session and does not open any of the file set in the prope= rty. So may be that is the reason even if wrong file or password is given b= efore second connection, connection is successful. =46rom the logs we feel that SSL caching may be causing the problem. Is there any exposed JSSE interface function to disable SSL session caching? If you can derive something from the attached logs, please let us know. How to set the SSL property "sslfactory" from application with some valid c= lass? Our idea is that JDBC convert function execution goes to the else part of "if (classname =3D=3D null)". The code snippet is attached: String classname =3D info.getProperty("sslfactory");=20 if (classname =3D=3D null)=20 {=20 //If sslmode is set, use the libp compatible factory=20 if (sslmode!=3Dnull)=20 {=20 factory =3D new LibPQFactory(info);=20 }=20 else=20 {=20 factory =3D (SSLSocketFactory)SSLSocketFactory.getDefault();=20 }=20 }=20 else=20 {=20 try=20 {=20 factory =3D (SSLSocketFactory)instantiate(classname, info, = true, info.getProperty("sslfactoryarg"));=20 }=20 catch (Exception e)=20 {=20 throw new PSQLException(GT.tr("The SSLSocketFactory class p= rovided {0} could not be instantiated.", classname), PSQLState.CONNECTION_F= AILURE, e);=20 }=20 } Regards, Hari babu. ------=_NextPart_000_0077_01CDFFE3.E60070A0 Content-Type: application/octet-stream; name="analysis_conn2.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="analysis_conn2.dat" =0A= %% Client cached [Session-1, SSL_RSA_WITH_RC4_128_SHA]=0A= %% Try resuming [Session-1, SSL_RSA_WITH_RC4_128_SHA] from port 1900=0A= *** ClientHello, TLSv1=0A= RandomCookie: GMT: 1359394040 bytes =3D { 166, 94, 157, 191, 2, 194, 168, = 159, 230, 38, 251, 245, 247, 245, 68, 8, 144, 204, 159, 185, 72, 0, 6, 189,= 151, 55, 181, 9 }=0A= Session ID: {202, 29, 189, 153, 167, 62, 13, 104, 215, 202, 86, 125, 49, 2= 41, 49, 103, 8, 180, 0, 96, 87, 98, 165, 157, 149, 16, 189, 164, 108, 176, = 88, 210}=0A= Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA= _WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_A= ES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CB= C_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE= _RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC= 4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_= CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]=0A= Compression Methods: { 0 }=0A= ***=0A= main, WRITE: TLSv1 Handshake, length =3D 105=0A= main, READ: TLSv1 Handshake, length =3D 74=0A= *** ServerHello, TLSv1=0A= RandomCookie: GMT: 1359394040 bytes =3D { 67, 49, 201, 252, 171, 56, 20, 1= 06, 59, 205, 197, 253, 126, 207, 170, 240, 0, 180, 44, 183, 41, 65, 13, 31,= 25, 60, 239, 167 }=0A= Session ID: {82, 175, 2, 70, 105, 19, 247, 204, 30, 70, 135, 54, 213, 84, = 66, 60, 238, 46, 165, 7, 63, 4, 255, 214, 38, 165, 100, 228, 63, 112, 144, = 13}=0A= Cipher Suite: SSL_RSA_WITH_RC4_128_SHA=0A= Compression Method: 0=0A= ***=0A= %% Created: [Session-2, SSL_RSA_WITH_RC4_128_SHA]=0A= ** SSL_RSA_WITH_RC4_128_SHA=0A= main, READ: TLSv1 Handshake, length =3D 1399=0A= *** Certificate chain=0A= chain [0] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3DSERVER, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1232764075532718363347449099193688164301593434506275740791744689= 675106614774364238731189029179882752080285179852865288988319367992757636002= 089815914974984178570459609459245437566800311241965792536375713263444495675= 833563006481402119448250908613078090216475912346646999954053617171410445968= 47234058164976944807=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:47:49 IST 2012,=0A= To: Wed Dec 25 13:47:49 IST 2013]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d609]=0A= =0A= Certificate Extensions: 4=0A= [1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=3Dfalse=0A= Extension unknown: DER encoded OCTET string =3D=0A= 0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene= =0A= 0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat= =0A= 0020: 65 e=0A= =0A= =0A= [2]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 12 12 FD C1 9A D0 59 9E A0 86 74 68 B0 09 4D E6 ......Y...th..M.= =0A= 0010: 7E 5D B8 37 .].7=0A= ]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= ]=0A= =0A= [4]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:false=0A= PathLen: undefined=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 2F 34 82 4B 4F 0D 22 80 83 15 BC 91 39 0D B6 89 /4.KO.".....9...= =0A= 0010: 85 6E 79 1F 1C 02 04 AA 8A D6 6C 4F 7B 9F 73 81 .ny.......lO..s.= =0A= 0020: 92 E1 47 D8 22 A6 BB 95 B7 F6 03 41 8D 01 93 07 ..G."......A....= =0A= 0030: 8F 99 5F 4C 56 54 95 2B 3E C2 B1 84 D9 08 D8 D3 .._LVT.+>.......= =0A= 0040: 07 0E CD E8 89 4F DC B2 B9 8E 61 F9 44 21 03 0C .....O....a.D!..= =0A= 0050: 5D 04 6C 55 02 E1 A5 6D 78 D0 71 A3 26 8B B6 2D ].lU...mx.q.&..-= =0A= 0060: 13 E9 BC 80 CA 55 0B 59 CB 66 8C 7F C8 01 6C 2D .....U.Y.f....l-= =0A= 0070: 5D E9 38 F6 5E 65 E4 2F 0C 91 9C 4A D2 6E 21 31 ].8.^e./...J.n!1= =0A= =0A= ]=0A= chain [1] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1234499253639443286027798231663883880852167601143451823545362579= 387018744647346934867434032152830723748525576818437279940778747205508719664= 673066051215433663204798607319069966921549547062864237678257055995197281516= 747813931956799193827963036820269969348269775607918643361484266949863930462= 13767951250631047403=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:42:29 IST 2012,=0A= To: Fri Dec 25 13:42:29 IST 2015]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d607]=0A= =0A= Certificate Extensions: 3=0A= [1]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= ]=0A= =0A= [2]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= [CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN]=0A= SerialNumber: [ dea093e3 be27d607]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:true=0A= PathLen:2147483647=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 69 8C 9E A5 A2 8D 87 92 84 A3 DC A0 8A A6 5F 05 i............._.= =0A= 0010: B2 DB E6 93 64 1E 71 2C 08 E0 12 28 E1 7F C6 7D ....d.q,...(....= =0A= 0020: CF 70 98 4D 0D F5 C8 57 DC 07 C3 4B 3B 1D 83 8D .p.M...W...K;...= =0A= 0030: 95 55 47 4F 6A 58 38 8B 70 55 4B 9A F2 48 C0 11 .UGOjX8.pUK..H..= =0A= 0040: 17 37 B0 22 54 EE 7D B5 C6 9E 66 D5 7A 47 7A 3F .7."T.....f.zGz?= =0A= 0050: 94 39 9E 1B ED 2E B2 89 E5 5A D8 67 2F 81 24 B6 .9.......Z.g/.$.= =0A= 0060: C3 B4 D0 2A 2B 30 78 D4 B8 64 05 6B 6F 36 94 EA ...*+0x..d.ko6..= =0A= 0070: 51 2A D1 78 62 07 7C 1F 90 28 5E 36 4B 9E C5 76 Q*.xb....(^6K..v= =0A= =0A= ]=0A= ***=0A= Found trusted certificate:=0A= [=0A= [=0A= Version: V3=0A= Subject: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1234499253639443286027798231663883880852167601143451823545362579= 387018744647346934867434032152830723748525576818437279940778747205508719664= 673066051215433663204798607319069966921549547062864237678257055995197281516= 747813931956799193827963036820269969348269775607918643361484266949863930462= 13767951250631047403=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:42:29 IST 2012,=0A= To: Fri Dec 25 13:42:29 IST 2015]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d607]=0A= =0A= Certificate Extensions: 3=0A= [1]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= ]=0A= =0A= [2]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= [CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN]=0A= SerialNumber: [ dea093e3 be27d607]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:true=0A= PathLen:2147483647=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 69 8C 9E A5 A2 8D 87 92 84 A3 DC A0 8A A6 5F 05 i............._.= =0A= 0010: B2 DB E6 93 64 1E 71 2C 08 E0 12 28 E1 7F C6 7D ....d.q,...(....= =0A= 0020: CF 70 98 4D 0D F5 C8 57 DC 07 C3 4B 3B 1D 83 8D .p.M...W...K;...= =0A= 0030: 95 55 47 4F 6A 58 38 8B 70 55 4B 9A F2 48 C0 11 .UGOjX8.pUK..H..= =0A= 0040: 17 37 B0 22 54 EE 7D B5 C6 9E 66 D5 7A 47 7A 3F .7."T.....f.zGz?= =0A= 0050: 94 39 9E 1B ED 2E B2 89 E5 5A D8 67 2F 81 24 B6 .9.......Z.g/.$.= =0A= 0060: C3 B4 D0 2A 2B 30 78 D4 B8 64 05 6B 6F 36 94 EA ...*+0x..d.ko6..= =0A= 0070: 51 2A D1 78 62 07 7C 1F 90 28 5E 36 4B 9E C5 76 Q*.xb....(^6K..v= =0A= =0A= ]=0A= main, READ: TLSv1 Handshake, length =3D 96=0A= *** CertificateRequest=0A= Cert Types: RSA, DSS, ECDSA=0A= Cert Authorities:=0A= =0A= *** ServerHelloDone=0A= matching alias: 1=0A= *** Certificate chain=0A= chain [0] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3DCLIENT, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1307588525357074148909377134753607576338861230895428913992237962= 234591933597556256871204022403126420675427213708866030063760376004158499568= 681817637219132484949998455641311536212865740004727726194069693470032555551= 356192047007659005392269943323320539271132605020657588591189416675129839580= 94432089505325311507=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:43:21 IST 2012,=0A= To: Wed Dec 25 13:43:21 IST 2013]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d608]=0A= =0A= Certificate Extensions: 4=0A= [1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=3Dfalse=0A= Extension unknown: DER encoded OCTET string =3D=0A= 0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene= =0A= 0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat= =0A= 0020: 65 e=0A= =0A= =0A= [2]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 97 FB 9A E8 38 08 74 9B AF 01 4E E0 AF 98 A0 D1 ....8.t...N.....= =0A= 0010: 4E FA 64 82 N.d.=0A= ]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= ]=0A= =0A= [4]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:false=0A= PathLen: undefined=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 97 A2 3A 73 FC A8 DA 00 72 57 F4 B0 9C 8E A7 46 ..:s....rW.....F= =0A= 0010: 83 F3 F1 CA DF 21 89 BB A3 03 26 6A A8 AF 70 8C .....!....&j..p.= =0A= 0020: 51 54 9B CD ED 83 CD 31 C8 2D 33 F8 0A B2 A0 B6 QT.....1.-3.....= =0A= 0030: 2F 5A 32 93 B6 18 B3 B1 68 CE 54 0C 62 62 93 D5 /Z2.....h.T.bb..= =0A= 0040: D6 F4 61 3B 85 6C 7A D7 62 D8 7C CC 34 AF 05 3F ..a;.lz.b...4..?= =0A= 0050: 6A E9 44 6F 3D 9E D3 6C 75 C8 0F D0 D1 27 C9 77 j.Do=3D..lu....'.w= =0A= 0060: 4F 0A 6A F6 8A 2F E1 95 E6 18 1F F7 8B 45 85 3C O.j../.......E.<= =0A= 0070: 73 45 D3 C0 07 92 81 86 4B 64 03 FD 8D 3A D1 AC sE......Kd...:..= =0A= =0A= ]=0A= ***=0A= *** ClientKeyExchange, RSA PreMasterSecret, TLSv1=0A= main, WRITE: TLSv1 Handshake, length =3D 811=0A= SESSION KEYGEN:=0A= PreMaster Secret:=0A= 0000: 03 01 18 10 DE 8E 3A 9C BD 1A 4A 30 51 C4 7A 69 ......:...J0Q.zi= =0A= 0010: 7D EB D6 31 4F 40 5E 1B 2F 82 08 7E 59 17 8D 53 ...1O@^./...Y..S= =0A= 0020: 6E 1F D3 FE 47 45 DF FF 09 9A A6 9C 34 E9 30 97 n...GE......4.0.= =0A= CONNECTION KEYGEN:=0A= Client Nonce:=0A= 0000: 51 07 B5 F8 A6 5E 9D BF 02 C2 A8 9F E6 26 FB F5 Q....^.......&..= =0A= 0010: F7 F5 44 08 90 CC 9F B9 48 00 06 BD 97 37 B5 09 ..D.....H....7..= =0A= Server Nonce:=0A= 0000: 51 07 B5 F8 43 31 C9 FC AB 38 14 6A 3B CD C5 FD Q...C1...8.j;...= =0A= 0010: 7E CF AA F0 00 B4 2C B7 29 41 0D 1F 19 3C EF A7 ......,.)A...<..= =0A= Master Secret:=0A= 0000: BE 37 AB FE 38 25 3B D1 B1 AF 06 81 A6 79 6B C2 .7..8%;......yk.= =0A= 0010: 17 CD 2A F5 D4 4A 70 BD 43 E2 4C EF 7D 8F 9F B7 ..*..Jp.C.L.....= =0A= 0020: CB F5 9A 60 7D FE 3C 28 34 FD 16 24 FA 0B 27 60 ...`..<(4..$..'`= =0A= Client MAC write Secret:=0A= 0000: 5C 9F CC 13 51 40 96 43 04 44 F1 3F F3 11 EE 03 \...Q@.C.D.?....= =0A= 0010: 24 C3 42 64 $.Bd=0A= Server MAC write Secret:=0A= 0000: 3F 53 44 15 F0 69 D5 F0 AB D7 22 BC B5 84 32 3A ?SD..i...."...2:= =0A= 0010: BF A9 0A 83 ....=0A= Client write key:=0A= 0000: 55 0D 08 2F 32 E4 9F D9 31 E3 1C EC 24 9A 7F 38 U../2...1...$..8= =0A= Server write key:=0A= 0000: DC 26 0E F4 20 AB 63 2D DA 57 38 46 3E AE DC 03 .&.. .c-.W8F>...= =0A= ... no IV used for this cipher=0A= *** CertificateVerify=0A= main, WRITE: TLSv1 Handshake, length =3D 134=0A= main, WRITE: TLSv1 Change Cipher Spec, length =3D 1=0A= *** Finished=0A= verify_data: { 163, 224, 164, 231, 219, 207, 175, 98, 199, 38, 41, 88 }=0A= ***=0A= main, WRITE: TLSv1 Handshake, length =3D 36=0A= main, READ: TLSv1 Change Cipher Spec, length =3D 1=0A= main, READ: TLSv1 Handshake, length =3D 36=0A= *** Finished=0A= verify_data: { 103, 0, 243, 133, 157, 42, 43, 120, 150, 100, 182, 175 }=0A= ***=0A= %% Cached client session: [Session-2, SSL_RSA_WITH_RC4_128_SHA]=0A= main, WRITE: TLSv1 Application Data, length =3D 138=0A= main, READ: TLSv1 Application Data, length =3D 349=0A= main, WRITE: TLSv1 Application Data, length =3D 83=0A= main, READ: TLSv1 Application Data, length =3D 45=0A= Connection2 successful! Conn2:org.postgresql.jdbc4.Jdbc4Connection@4e76fba0= =0A= main, WRITE: TLSv1 Application Data, length =3D 25=0A= main, called close()=0A= main, called closeInternal(true)=0A= main, SEND TLSv1 ALERT: warning, description =3D close_notify=0A= main, WRITE: TLSv1 Alert, length =3D 22=0A= main, called close()=0A= main, called closeInternal(true)=0A= main, called close()=0A= main, called closeInternal(true)=0A= =0A= ------=_NextPart_000_0077_01CDFFE3.E60070A0 Content-Type: application/octet-stream; name="analysis_conn1.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="analysis_conn1.dat" keyStore is : 193client.jks=0A= keyStore type is : jks=0A= keyStore provider is :=20=0A= init keystore=0A= init keymanager of type SunX509=0A= ***=0A= found key for : 1=0A= chain [0] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3DCLIENT, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1307588525357074148909377134753607576338861230895428913992237962= 234591933597556256871204022403126420675427213708866030063760376004158499568= 681817637219132484949998455641311536212865740004727726194069693470032555551= 356192047007659005392269943323320539271132605020657588591189416675129839580= 94432089505325311507=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:43:21 IST 2012,=0A= To: Wed Dec 25 13:43:21 IST 2013]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d608]=0A= =0A= Certificate Extensions: 4=0A= [1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=3Dfalse=0A= Extension unknown: DER encoded OCTET string =3D=0A= 0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene= =0A= 0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat= =0A= 0020: 65 e=0A= =0A= =0A= [2]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 97 FB 9A E8 38 08 74 9B AF 01 4E E0 AF 98 A0 D1 ....8.t...N.....= =0A= 0010: 4E FA 64 82 N.d.=0A= ]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= ]=0A= =0A= [4]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:false=0A= PathLen: undefined=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 97 A2 3A 73 FC A8 DA 00 72 57 F4 B0 9C 8E A7 46 ..:s....rW.....F= =0A= 0010: 83 F3 F1 CA DF 21 89 BB A3 03 26 6A A8 AF 70 8C .....!....&j..p.= =0A= 0020: 51 54 9B CD ED 83 CD 31 C8 2D 33 F8 0A B2 A0 B6 QT.....1.-3.....= =0A= 0030: 2F 5A 32 93 B6 18 B3 B1 68 CE 54 0C 62 62 93 D5 /Z2.....h.T.bb..= =0A= 0040: D6 F4 61 3B 85 6C 7A D7 62 D8 7C CC 34 AF 05 3F ..a;.lz.b...4..?= =0A= 0050: 6A E9 44 6F 3D 9E D3 6C 75 C8 0F D0 D1 27 C9 77 j.Do=3D..lu....'.w= =0A= 0060: 4F 0A 6A F6 8A 2F E1 95 E6 18 1F F7 8B 45 85 3C O.j../.......E.<= =0A= 0070: 73 45 D3 C0 07 92 81 86 4B 64 03 FD 8D 3A D1 AC sE......Kd...:..= =0A= =0A= ]=0A= ***=0A= trustStore is: 193store=0A= trustStore type is : jks=0A= trustStore provider is :=20=0A= init truststore=0A= adding as trusted cert:=0A= Subject: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Algorithm: RSA; Serial number: 0xdea093e3be27d607=0A= Valid from Tue Dec 25 13:42:29 IST 2012 until Fri Dec 25 13:42:29 IST 2015= =0A= =0A= trigger seeding of SecureRandom=0A= done seeding SecureRandom=0A= %% No cached client session=0A= *** ClientHello, TLSv1=0A= RandomCookie: GMT: 1359394040 bytes =3D { 242, 152, 124, 118, 75, 167, 161= , 45, 57, 199, 231, 187, 41, 234, 116, 37, 97, 33, 83, 137, 178, 41, 49, 72= , 154, 57, 186, 193 }=0A= Session ID: {}=0A= Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA= _WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_A= ES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CB= C_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE= _RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC= 4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_= CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]=0A= Compression Methods: { 0 }=0A= ***=0A= main, WRITE: TLSv1 Handshake, length =3D 73=0A= main, WRITE: SSLv2 client hello message, length =3D 98=0A= main, READ: TLSv1 Handshake, length =3D 74=0A= *** ServerHello, TLSv1=0A= RandomCookie: GMT: 1359394040 bytes =3D { 105, 102, 226, 137, 212, 100, 8,= 208, 45, 78, 12, 179, 17, 217, 157, 136, 52, 119, 59, 32, 25, 63, 113, 116= , 177, 212, 153, 243 }=0A= Session ID: {202, 29, 189, 153, 167, 62, 13, 104, 215, 202, 86, 125, 49, 2= 41, 49, 103, 8, 180, 0, 96, 87, 98, 165, 157, 149, 16, 189, 164, 108, 176, = 88, 210}=0A= Cipher Suite: SSL_RSA_WITH_RC4_128_SHA=0A= Compression Method: 0=0A= ***=0A= %% Created: [Session-1, SSL_RSA_WITH_RC4_128_SHA]=0A= ** SSL_RSA_WITH_RC4_128_SHA=0A= main, READ: TLSv1 Handshake, length =3D 1399=0A= *** Certificate chain=0A= chain [0] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3DSERVER, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1232764075532718363347449099193688164301593434506275740791744689= 675106614774364238731189029179882752080285179852865288988319367992757636002= 089815914974984178570459609459245437566800311241965792536375713263444495675= 833563006481402119448250908613078090216475912346646999954053617171410445968= 47234058164976944807=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:47:49 IST 2012,=0A= To: Wed Dec 25 13:47:49 IST 2013]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d609]=0A= =0A= Certificate Extensions: 4=0A= [1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=3Dfalse=0A= Extension unknown: DER encoded OCTET string =3D=0A= 0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene= =0A= 0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat= =0A= 0020: 65 e=0A= =0A= =0A= [2]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 12 12 FD C1 9A D0 59 9E A0 86 74 68 B0 09 4D E6 ......Y...th..M.= =0A= 0010: 7E 5D B8 37 .].7=0A= ]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= ]=0A= =0A= [4]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:false=0A= PathLen: undefined=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 2F 34 82 4B 4F 0D 22 80 83 15 BC 91 39 0D B6 89 /4.KO.".....9...= =0A= 0010: 85 6E 79 1F 1C 02 04 AA 8A D6 6C 4F 7B 9F 73 81 .ny.......lO..s.= =0A= 0020: 92 E1 47 D8 22 A6 BB 95 B7 F6 03 41 8D 01 93 07 ..G."......A....= =0A= 0030: 8F 99 5F 4C 56 54 95 2B 3E C2 B1 84 D9 08 D8 D3 .._LVT.+>.......= =0A= 0040: 07 0E CD E8 89 4F DC B2 B9 8E 61 F9 44 21 03 0C .....O....a.D!..= =0A= 0050: 5D 04 6C 55 02 E1 A5 6D 78 D0 71 A3 26 8B B6 2D ].lU...mx.q.&..-= =0A= 0060: 13 E9 BC 80 CA 55 0B 59 CB 66 8C 7F C8 01 6C 2D .....U.Y.f....l-= =0A= 0070: 5D E9 38 F6 5E 65 E4 2F 0C 91 9C 4A D2 6E 21 31 ].8.^e./...J.n!1= =0A= =0A= ]=0A= chain [1] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1234499253639443286027798231663883880852167601143451823545362579= 387018744647346934867434032152830723748525576818437279940778747205508719664= 673066051215433663204798607319069966921549547062864237678257055995197281516= 747813931956799193827963036820269969348269775607918643361484266949863930462= 13767951250631047403=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:42:29 IST 2012,=0A= To: Fri Dec 25 13:42:29 IST 2015]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d607]=0A= =0A= Certificate Extensions: 3=0A= [1]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= ]=0A= =0A= [2]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= [CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN]=0A= SerialNumber: [ dea093e3 be27d607]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:true=0A= PathLen:2147483647=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 69 8C 9E A5 A2 8D 87 92 84 A3 DC A0 8A A6 5F 05 i............._.= =0A= 0010: B2 DB E6 93 64 1E 71 2C 08 E0 12 28 E1 7F C6 7D ....d.q,...(....= =0A= 0020: CF 70 98 4D 0D F5 C8 57 DC 07 C3 4B 3B 1D 83 8D .p.M...W...K;...= =0A= 0030: 95 55 47 4F 6A 58 38 8B 70 55 4B 9A F2 48 C0 11 .UGOjX8.pUK..H..= =0A= 0040: 17 37 B0 22 54 EE 7D B5 C6 9E 66 D5 7A 47 7A 3F .7."T.....f.zGz?= =0A= 0050: 94 39 9E 1B ED 2E B2 89 E5 5A D8 67 2F 81 24 B6 .9.......Z.g/.$.= =0A= 0060: C3 B4 D0 2A 2B 30 78 D4 B8 64 05 6B 6F 36 94 EA ...*+0x..d.ko6..= =0A= 0070: 51 2A D1 78 62 07 7C 1F 90 28 5E 36 4B 9E C5 76 Q*.xb....(^6K..v= =0A= =0A= ]=0A= ***=0A= Found trusted certificate:=0A= [=0A= [=0A= Version: V3=0A= Subject: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1234499253639443286027798231663883880852167601143451823545362579= 387018744647346934867434032152830723748525576818437279940778747205508719664= 673066051215433663204798607319069966921549547062864237678257055995197281516= 747813931956799193827963036820269969348269775607918643361484266949863930462= 13767951250631047403=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:42:29 IST 2012,=0A= To: Fri Dec 25 13:42:29 IST 2015]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d607]=0A= =0A= Certificate Extensions: 3=0A= [1]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= ]=0A= =0A= [2]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= [CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN]=0A= SerialNumber: [ dea093e3 be27d607]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:true=0A= PathLen:2147483647=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 69 8C 9E A5 A2 8D 87 92 84 A3 DC A0 8A A6 5F 05 i............._.= =0A= 0010: B2 DB E6 93 64 1E 71 2C 08 E0 12 28 E1 7F C6 7D ....d.q,...(....= =0A= 0020: CF 70 98 4D 0D F5 C8 57 DC 07 C3 4B 3B 1D 83 8D .p.M...W...K;...= =0A= 0030: 95 55 47 4F 6A 58 38 8B 70 55 4B 9A F2 48 C0 11 .UGOjX8.pUK..H..= =0A= 0040: 17 37 B0 22 54 EE 7D B5 C6 9E 66 D5 7A 47 7A 3F .7."T.....f.zGz?= =0A= 0050: 94 39 9E 1B ED 2E B2 89 E5 5A D8 67 2F 81 24 B6 .9.......Z.g/.$.= =0A= 0060: C3 B4 D0 2A 2B 30 78 D4 B8 64 05 6B 6F 36 94 EA ...*+0x..d.ko6..= =0A= 0070: 51 2A D1 78 62 07 7C 1F 90 28 5E 36 4B 9E C5 76 Q*.xb....(^6K..v= =0A= =0A= ]=0A= main, READ: TLSv1 Handshake, length =3D 96=0A= *** CertificateRequest=0A= Cert Types: RSA, DSS, ECDSA=0A= Cert Authorities:=0A= =0A= *** ServerHelloDone=0A= matching alias: 1=0A= *** Certificate chain=0A= chain [0] =3D [=0A= [=0A= Version: V3=0A= Subject: CN=3DCLIENT, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= Signature Algorithm: SHA1withRSA, OID =3D 1.2.840.113549.1.1.5=0A= =0A= Key: Sun RSA public key, 1024 bits=0A= modulus: 1307588525357074148909377134753607576338861230895428913992237962= 234591933597556256871204022403126420675427213708866030063760376004158499568= 681817637219132484949998455641311536212865740004727726194069693470032555551= 356192047007659005392269943323320539271132605020657588591189416675129839580= 94432089505325311507=0A= public exponent: 65537=0A= Validity: [From: Tue Dec 25 13:43:21 IST 2012,=0A= To: Wed Dec 25 13:43:21 IST 2013]=0A= Issuer: CN=3Droot, OU=3Dgauss, O=3Dhuawei, ST=3Dshanxi, C=3DCN=0A= SerialNumber: [ dea093e3 be27d608]=0A= =0A= Certificate Extensions: 4=0A= [1]: ObjectId: 2.16.840.1.113730.1.13 Criticality=3Dfalse=0A= Extension unknown: DER encoded OCTET string =3D=0A= 0000: 04 1F 16 1D 4F 70 65 6E 53 53 4C 20 47 65 6E 65 ....OpenSSL Gene= =0A= 0010: 72 61 74 65 64 20 43 65 72 74 69 66 69 63 61 74 rated Certificat= =0A= 0020: 65 e=0A= =0A= =0A= [2]: ObjectId: 2.5.29.14 Criticality=3Dfalse=0A= SubjectKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 97 FB 9A E8 38 08 74 9B AF 01 4E E0 AF 98 A0 D1 ....8.t...N.....= =0A= 0010: 4E FA 64 82 N.d.=0A= ]=0A= ]=0A= =0A= [3]: ObjectId: 2.5.29.35 Criticality=3Dfalse=0A= AuthorityKeyIdentifier [=0A= KeyIdentifier [=0A= 0000: 2B A7 9F 08 F1 88 3D C8 38 27 CD 37 12 58 05 67 +.....=3D.8'.7.X.g= =0A= 0010: 29 91 11 86 )...=0A= ]=0A= =0A= ]=0A= =0A= [4]: ObjectId: 2.5.29.19 Criticality=3Dfalse=0A= BasicConstraints:[=0A= CA:false=0A= PathLen: undefined=0A= ]=0A= =0A= ]=0A= Algorithm: [SHA1withRSA]=0A= Signature:=0A= 0000: 97 A2 3A 73 FC A8 DA 00 72 57 F4 B0 9C 8E A7 46 ..:s....rW.....F= =0A= 0010: 83 F3 F1 CA DF 21 89 BB A3 03 26 6A A8 AF 70 8C .....!....&j..p.= =0A= 0020: 51 54 9B CD ED 83 CD 31 C8 2D 33 F8 0A B2 A0 B6 QT.....1.-3.....= =0A= 0030: 2F 5A 32 93 B6 18 B3 B1 68 CE 54 0C 62 62 93 D5 /Z2.....h.T.bb..= =0A= 0040: D6 F4 61 3B 85 6C 7A D7 62 D8 7C CC 34 AF 05 3F ..a;.lz.b...4..?= =0A= 0050: 6A E9 44 6F 3D 9E D3 6C 75 C8 0F D0 D1 27 C9 77 j.Do=3D..lu....'.w= =0A= 0060: 4F 0A 6A F6 8A 2F E1 95 E6 18 1F F7 8B 45 85 3C O.j../.......E.<= =0A= 0070: 73 45 D3 C0 07 92 81 86 4B 64 03 FD 8D 3A D1 AC sE......Kd...:..= =0A= =0A= ]=0A= ***=0A= *** ClientKeyExchange, RSA PreMasterSecret, TLSv1=0A= main, WRITE: TLSv1 Handshake, length =3D 811=0A= SESSION KEYGEN:=0A= PreMaster Secret:=0A= 0000: 03 01 00 FF B2 A5 FB 33 36 C3 93 87 9D 93 7A ED .......36.....z.= =0A= 0010: 05 A1 9A 2B 3E 17 A4 5F A5 F6 DD DC 80 78 75 33 ...+>.._.....xu3= =0A= 0020: E9 6A 57 71 D1 A7 55 A6 87 5F 7D D2 A2 76 3D 77 .jWq..U.._...v=3Dw= =0A= CONNECTION KEYGEN:=0A= Client Nonce:=0A= 0000: 51 07 B5 F8 F2 98 7C 76 4B A7 A1 2D 39 C7 E7 BB Q......vK..-9...= =0A= 0010: 29 EA 74 25 61 21 53 89 B2 29 31 48 9A 39 BA C1 ).t%a!S..)1H.9..= =0A= Server Nonce:=0A= 0000: 51 07 B5 F8 69 66 E2 89 D4 64 08 D0 2D 4E 0C B3 Q...if...d..-N..= =0A= 0010: 11 D9 9D 88 34 77 3B 20 19 3F 71 74 B1 D4 99 F3 ....4w; .?qt....= =0A= Master Secret:=0A= 0000: C8 00 AA B8 2F 69 62 F7 F8 FC 4F E7 8A 8B CC 04 ..../ib...O.....= =0A= 0010: DA 7F 3B 32 7F B9 03 22 BE BC D0 B6 3C B4 0D 6A ..;2..."....<..j= =0A= 0020: 9A AD 25 B9 14 A1 49 C7 4A B5 6E BF 3A 20 F9 93 ..%...I.J.n.: ..= =0A= Client MAC write Secret:=0A= 0000: 37 D0 62 E5 37 A2 9C 96 A6 D8 9B 34 21 41 81 6C 7.b.7......4!A.l= =0A= 0010: A9 90 29 A3 ..).=0A= Server MAC write Secret:=0A= 0000: C2 A4 0B E3 AB 50 D7 6C 58 DD E3 89 25 5F C1 33 .....P.lX...%_.3= =0A= 0010: 82 38 2B 3C .8+<=0A= Client write key:=0A= 0000: 1D 46 2B EE 8E 90 A1 0F 24 34 87 E7 07 9A 9F 1E .F+.....$4......= =0A= Server write key:=0A= 0000: 14 09 07 FA 3C A9 2F B2 9D BF 62 FC 58 A1 14 26 ....<./...b.X..&= =0A= ... no IV used for this cipher=0A= *** CertificateVerify=0A= main, WRITE: TLSv1 Handshake, length =3D 134=0A= main, WRITE: TLSv1 Change Cipher Spec, length =3D 1=0A= *** Finished=0A= verify_data: { 198, 168, 152, 199, 30, 45, 186, 251, 231, 84, 55, 239 }=0A= ***=0A= main, WRITE: TLSv1 Handshake, length =3D 36=0A= main, READ: TLSv1 Change Cipher Spec, length =3D 1=0A= main, READ: TLSv1 Handshake, length =3D 36=0A= *** Finished=0A= verify_data: { 212, 27, 52, 20, 75, 137, 254, 168, 78, 186, 237, 228 }=0A= ***=0A= %% Cached client session: [Session-1, SSL_RSA_WITH_RC4_128_SHA]=0A= main, WRITE: TLSv1 Application Data, length =3D 138=0A= main, READ: TLSv1 Application Data, length =3D 349=0A= main, WRITE: TLSv1 Application Data, length =3D 83=0A= main, READ: TLSv1 Application Data, length =3D 45=0A= Connection1 successful! Conn1:org.postgresql.jdbc4.Jdbc4Connection@2e958bb8= =0A= main, WRITE: TLSv1 Application Data, length =3D 25=0A= main, called close()=0A= main, called closeInternal(true)=0A= main, SEND TLSv1 ALERT: warning, description =3D close_notify=0A= main, WRITE: TLSv1 Alert, length =3D 22=0A= main, called close()=0A= main, called closeInternal(true)=0A= main, called close()=0A= main, called closeInternal(true)=0A= =0A= =0A= ------=_NextPart_000_0077_01CDFFE3.E60070A0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc ------=_NextPart_000_0077_01CDFFE3.E60070A0--