=== source code for csiv2_SUITE:ssl_client_peercert_api/1
=== Test case started with:
csiv2_SUITE:ssl_client_peercert_api([{watchdog,<0.4579.0>},
{tc_logfile,
"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.52.56/tests.orber_test.logs/run.2014-01-03_23.54.05/csiv2_suite.ssl_client_peercert_api.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,
"/home/pi/R16B03/otp-support/release/tests/orber_test/csiv2_SUITE_data/"},
{priv_dir,
"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.52.56/tests.orber_test.logs/run.2014-01-03_23.54.05/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_23.52.56"
=== Started at 2014-01-03 23:56:15
*** System report during csiv2_SUITE:ssl_client_peercert_api/1 2014-01-03 23:56:15.471 ***
=INFO REPORT==== 3-Jan-2014::23:56:15 ===
======= Orber Execution Environment ======
Orber version.................: 3.6.26.1
Orber domain..................: 127.0.0.1:44537
IIOP port number..............: 44537
IIOP NAT port number..........: 44537
Interface(s)..................: ["127.0.0.1"]
Interface(s) NAT..............: ["127.0.0.1"]
Local Interface (default).....: []
Nodes in domain...............: [test_server@localhost]
GIOP version (default)........: 1.2
IIOP out timeout..............: infinity msec
IIOP out connection timeout...: infinity msec
IIOP setup connection timeout.: infinity msec
IIOP out ports................: 0
IIOP out ports attempts.......: 1
IIOP out ports random.........: false
IIOP out connections..........: []
IIOP out connections (pending): []
IIOP out keepalive............: false
IIOP in connections...........: []
IIOP in connection timeout....: infinity msec
IIOP in keepalive.............: false
IIOP max fragments............: infinity
IIOP max in requests..........: infinity
IIOP max in connections.......: infinity
IIOP backlog..................: 5
IIOP ACL......................: []
IIOP maximum packet size......: infinity
Object Keys GC interval.......: infinity
Using Interceptors............: false
Using Local Interceptors......: false
Debug Level...................: 10
orbInitRef....................: undefined
orbDefaultInitRef.............: undefined
System Flags Set..............: -
=========================================
slave:start_link("localhost","1388_793375_887133"," -pa /home/pi/R16B03/otp-support/release/tests/orber_test -pa /home/pi/R16B03/otp-support/release/tests/orber_test/idl_output -pa /home/pi/R16B03/otp-support/release/tests/orber_test/all_SUITE_data -pa \"/usr/lib/erlang/lib/orber-3.6.26.1/ebin\"").
*** System report during csiv2_SUITE:ssl_client_peercert_api/1 2014-01-03 23:56:20.674 ***
=INFO REPORT==== 3-Jan-2014::23:56:20 ===
======= Orber Execution Environment ======
Orber version.................: 3.6.26.1
Orber domain..................: 127.0.0.1:42615
IIOP port number..............: 42615
IIOP NAT port number..........: 42615
Interface(s)..................: ["127.0.0.1"]
Interface(s) NAT..............: ["127.0.0.1"]
Local Interface (default).....: []
Nodes in domain...............: ['1388_793375_887133@localhost']
GIOP version (default)........: 1.1
IIOP out timeout..............: infinity msec
IIOP out connection timeout...: infinity msec
IIOP setup connection timeout.: infinity msec
IIOP out ports................: 0
IIOP out ports attempts.......: 1
IIOP out ports random.........: false
IIOP out connections..........: []
IIOP out connections (pending): []
IIOP out keepalive............: false
IIOP in connections...........: []
IIOP in connection timeout....: infinity msec
IIOP in keepalive.............: false
IIOP max fragments............: infinity
IIOP max in requests..........: infinity
IIOP max in connections.......: infinity
IIOP backlog..................: 5
IIOP ACL......................: []
IIOP maximum packet size......: infinity
Object Keys GC interval.......: infinity
Using Interceptors............: false
Using Local Interceptors......: false
Debug Level...................: 10
orbInitRef....................: undefined
orbDefaultInitRef.............: undefined
System Flags Set..............: -
ORB security..................: ssl
SSL generation................: 2
SSL IIOP in keepalive.........: 36546
SSL IIOP out keepalive........: false
SSL IIOP port number..........: false
SSL IIOP NAT port number......: 36546
SSL IIOP accept timeout.......: infinity
SSL IIOP backlog..............: 5
SSL IIOP Local Interface......: []
SSL server options............: [{depth,2},
{verify,2},
{certfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cert.pem"},
{cacertfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cacerts.pem"},
{keyfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/key.pem"}]
SSL server certfile...........: []
SSL server verification type..: 0
SSL server verification depth.: 1
SSL server cacertfile.........: []
SSL server keyfile............: []
SSL server password...........: []
SSL server ciphers............: []
SSL server cachetimeout.......: infinity
SSL client options............: [{depth,2},
{verify,2},
{certfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/cert.pem"},
{cacertfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/cacerts.pem"},
{keyfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/key.pem"}]
SSL client certfile...........: []
SSL client verification type..: 0
SSL client verification depth.: 1
SSL client cacertfile.........: []
SSL client keyfile............: []
SSL client password...........: []
SSL client ciphers............: []
SSL client cachetimeout.......: infinity
=========================================
** at node 1388_793375_887133@localhost **
======= Orber Execution Environment ======
Orber version.................: 3.6.26.1
Orber domain..................: 127.0.0.1:42615
IIOP port number..............: 42615
IIOP NAT port number..........: 42615
Interface(s)..................: ["127.0.0.1"]
Interface(s) NAT..............: ["127.0.0.1"]
Local Interface (default).....: []
Nodes in domain...............: ['1388_793375_887133@localhost']
GIOP version (default)........: 1.1
IIOP out timeout..............: infinity msec
IIOP out connection timeout...: infinity msec
IIOP setup connection timeout.: infinity msec
IIOP out ports................: 0
IIOP out ports attempts.......: 1
IIOP out ports random.........: false
IIOP out connections..........: []
IIOP out connections (pending): []
IIOP out keepalive............: false
IIOP in connections...........: []
IIOP in connection timeout....: infinity msec
IIOP in keepalive.............: false
IIOP max fragments............: infinity
IIOP max in requests..........: infinity
IIOP max in connections.......: infinity
IIOP backlog..................: 5
IIOP ACL......................: []
IIOP maximum packet size......: infinity
Object Keys GC interval.......: infinity
Using Interceptors............: false
Using Local Interceptors......: false
Debug Level...................: 10
orbInitRef....................: undefined
orbDefaultInitRef.............: undefined
System Flags Set..............: -
ORB security..................: ssl
SSL generation................: 2
SSL IIOP in keepalive.........: 36546
SSL IIOP out keepalive........: false
SSL IIOP port number..........: false
SSL IIOP NAT port number......: 36546
SSL IIOP accept timeout.......: infinity
SSL IIOP backlog..............: 5
SSL IIOP Local Interface......: []
SSL server options............: [{depth,2},
{verify,2},
{certfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cert.pem"},
{cacertfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cacerts.pem"},
{keyfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/key.pem"}]
SSL server certfile...........: []
SSL server verification type..: 0
SSL server verification depth.: 1
SSL server cacertfile.........: []
SSL server keyfile............: []
SSL server password...........: []
SSL server ciphers............: []
SSL server cachetimeout.......: infinity
SSL client options............: [{depth,2},
{verify,2},
{certfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/cert.pem"},
{cacertfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/cacerts.pem"},
{keyfile,
"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/client/key.pem"}]
SSL client certfile...........: []
SSL client verification type..: 0
SSL client verification depth.: 1
SSL client cacertfile.........: []
SSL client keyfile............: []
SSL client password...........: []
SSL client ciphers............: []
SSL client cachetimeout.......: infinity
=========================================
------ CORRECT RESULT ------
{ok,'1388_793375_887133@localhost',"localhost"}
------ CORRECT RESULT ------
{ok,{sslsocket,nil,
{#Port<0.12900>,
{config,{ssl_options,undefined,
[{3,3},{3,2},{3,1},{3,0}],
verify_peer,undefined,true,false,
undefined,2,
<<"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cert.pem">>,
undefined,
<<"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/key.pem">>,
undefined,[],undefined,
<<"/usr/lib/erlang/lib/ssl-5.3.2/examples/certs/etc/server/cacerts.pem">>,
undefined,undefined,undefined,undefined,
undefined,
[<<"À$">>,<<"À(">>,<<"À&">>,<<"À*">>,
<<0,107>>,
<<0,106>>,
<<0,61>>,
<<"À#">>,<<"À'">>,<<"À%">>,<<"À)">>,
<<0,103>>,
<<0,64>>,
<<0,60>>,
<<"À\n">>,
<<192,20>>,
<<0,57>>,
<<0,56>>,
<<192,5>>,
<<192,15>>,
<<0,53>>,
<<"À\b">>,
<<192,18>>,
<<0,22>>,
<<0,19>>,
<<192,3>>,
<<"À\r">>,
<<0,10>>,
<<"À\t">>,
<<192,19>>,
<<0,51>>,
<<0,50>>,
<<192,4>>,
<<192,14>>,
<<0,47>>,
<<192,7>>,
<<192,17>>,
<<0,5>>,
<<0,4>>,
<<0,21>>,
<<192,2>>,
<<"À\f">>,
<<0,9>>],
#Fun,true,268435456,
false,undefined,undefined,false,
undefined,undefined,true,undefined},
[],
{socket_options,list,0,0,0,true},
[{packet_size,0},
{packet,0},
{header,0},
{active,false},
{mode,binary}],
{gen_tcp,tcp,tcp_closed,tcp_error},
tls_connection}}}}
------ CORRECT RESULT ------
{ok,{{0,0,0,0},59715}}
------ CORRECT RESULT ------
{'IOP_IOR',"IDL:FAKE:1.0",
[{'IOP_TaggedProfile',0,
{'IIOP_ProfileBody_1_1',
{'IIOP_Version',1,2},
"localhost",6004,"FAKE",
[{'IOP_TaggedComponent',20,{'SSLIOP_SSL',2,2,59715}}]}}]}
------ CORRECT RESULT ------
{ok,{sslsocket,{gen_tcp,#Port<0.12901>,tls_connection},<0.4824.0>}}
------ CORRECT RESULT ------
ok
------ CORRECT RESULT ------
{ok,<<48,130,2,135,48,130,1,240,160,3,2,1,2,2,6,0,139,26,165,175,1,48,13,6,9,
42,134,72,134,247,13,1,1,5,5,0,48,122,49,14,48,12,6,3,85,4,3,19,5,111,
116,112,67,65,49,32,48,30,6,9,42,134,72,134,247,13,1,9,1,22,17,116,101,
115,116,101,114,64,101,114,108,97,110,103,46,111,114,103,49,18,48,16,6,
3,85,4,7,19,9,83,116,111,99,107,104,111,108,109,49,11,48,9,6,3,85,4,6,
19,2,83,69,49,15,48,13,6,3,85,4,10,19,6,101,114,108,97,110,103,49,20,48,
18,6,3,85,4,11,19,11,116,101,115,116,105,110,103,32,100,101,112,48,34,
24,15,50,48,49,48,48,57,48,49,48,48,48,48,48,48,90,24,15,50,48,50,53,48,
56,50,56,48,48,48,48,48,48,90,48,123,49,15,48,13,6,3,85,4,3,19,6,99,108,
105,101,110,116,49,32,48,30,6,9,42,134,72,134,247,13,1,9,1,22,17,116,
101,115,116,101,114,64,101,114,108,97,110,103,46,111,114,103,49,18,48,
16,6,3,85,4,7,19,9,83,116,111,99,107,104,111,108,109,49,11,48,9,6,3,85,
4,6,19,2,83,69,49,15,48,13,6,3,85,4,10,19,6,101,114,108,97,110,103,49,
20,48,18,6,3,85,4,11,19,11,116,101,115,116,105,110,103,32,100,101,112,
48,129,159,48,13,6,9,42,134,72,134,247,13,1,1,1,5,0,3,129,141,0,48,129,
137,2,129,129,0,147,20,19,228,56,239,124,124,54,55,143,163,8,196,129,
138,167,234,218,154,151,200,107,46,116,47,30,62,18,112,167,69,36,149,
192,47,167,209,85,102,63,181,121,72,97,73,166,229,201,204,221,33,190,
163,212,88,227,163,136,196,205,148,212,90,27,45,41,170,237,168,49,117,
128,60,179,177,29,98,245,193,62,119,135,102,107,220,85,13,83,243,116,70,
249,228,182,219,30,212,166,73,246,230,2,44,165,34,185,117,236,191,106,
209,235,105,199,220,232,81,34,32,71,72,7,18,191,67,81,91,2,3,1,0,1,163,
19,48,17,48,15,6,3,85,29,19,1,1,255,4,5,48,3,1,1,255,48,13,6,9,42,134,
72,134,247,13,1,1,5,5,0,3,129,129,0,111,45,233,253,64,60,94,241,107,33,
177,181,74,70,218,190,150,228,68,242,148,45,217,32,163,210,218,71,201,
147,214,152,139,176,25,53,58,123,255,20,212,233,40,42,188,80,77,241,160,
79,207,16,131,226,49,235,72,208,188,13,38,248,95,92,125,186,41,154,173,
190,170,117,144,199,17,216,163,248,52,64,119,103,178,128,145,217,196,71,
251,251,192,120,23,29,248,182,20,30,83,216,89,75,82,51,145,238,64,150,
204,133,50,75,193,238,29,26,156,78,36,244,23,238,83,189,47,151,171,249>>}
*** System report during csiv2_SUITE:ssl_client_peercert_api/1 2014-01-03 23:56:21.974 ***
=INFO REPORT==== 3-Jan-2014::23:56:21 ===
application: ssl
exited: stopped
type: temporary
*** System report during csiv2_SUITE:ssl_client_peercert_api/1 2014-01-03 23:56:22.267 ***
=INFO REPORT==== 3-Jan-2014::23:56:22 ===
application: orber
exited: stopped
type: temporary
*** System report during csiv2_SUITE:ssl_client_peercert_api/1 2014-01-03 23:56:22.406 ***
=INFO REPORT==== 3-Jan-2014::23:56:22 ===
application: mnesia
exited: stopped
type: temporary
=== Ended at 2014-01-03 23:56:22
=== successfully completed test case
=== returned value = ok
Test run history
| Top level test index