TODO: Implement news from 2015-11-09
[libisds.git] / server / hotp / good_session
blobc291926be328d3991f75c4d58ef7ba6cd525cabe
1 Selected authentication method: no certificate, username and password
2 Selected authentication method: HMAC-based one-time password
3 Logging user 5nxu9j into server https://www.czebox.cz/
4 SOAP request to sent to https://www.czebox.cz/as/processLogin?type=hotp&uri=https://www.czebox.cz/apps/DS/dz:
5 <?xml version="1.0" encoding="UTF-8"?>
6 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
8 End of SOAP request
9 Cookies will be stored and send because context has been authorized by OTP.
10 Sending POST request to <https://www.czebox.cz/as/processLogin?type=hotp&uri=https://www.czebox.cz/apps/DS/dz>
11 POST body length: 179, content follows:
12 <?xml version="1.0" encoding="UTF-8"?>
13 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
15 End of POST body
16 About to connect() to www.czebox.cz port 443 (#0)
17   Trying 90.182.204.24... connected
18 successfully set certificate verify locations:
19   CAfile: none
20   CApath: /etc/ssl/certs
21 SSLv3, TLS handshake, Client hello (1):
22 SSLv3, TLS handshake, Server hello (2):
23 SSLv3, TLS handshake, CERT (11):
24 SSLv3, TLS handshake, Server key exchange (12):
25 SSLv3, TLS handshake, Server finished (14):
26 SSLv3, TLS handshake, Client key exchange (16):
27 SSLv3, TLS change cipher, Client hello (1):
28 SSLv3, TLS handshake, Finished (20):
29 SSLv3, TLS change cipher, Client hello (1):
30 SSLv3, TLS handshake, Finished (20):
31 SSL connection using DHE-RSA-AES256-SHA
32 Server certificate:
33          subject: C=CZ; O=Ministerstvo vnitra \U010CR-odbor ekonomicko-organiza\U010Dn� pro ICT [I\U010C 00007064]; OU=odbor rozvoje projekt\U016F a slu\U017Eeb eGovernment; CN=*.czebox.cz; serialNumber=S91490
34          start date: 2011-02-25 12:16:59 GMT
35          expire date: 2012-02-25 11:26:00 GMT
36          common name: *.czebox.cz (matched)
37          issuer: C=CZ; O=\U010Cesk� po\U0161ta, s.p. [I\U010C 47114983]; CN=PostSignum Public CA 2
38          SSL certificate verify ok.
39 Server auth using Basic with user '5nxu9j'
40 POST /as/processLogin?type=hotp&uri=https://www.czebox.cz/apps/DS/dz HTTP/1.1
41 Authorization: Basic ****
42 User-Agent: libisds/0.5
43 Host: www.czebox.cz
44 Accept: application/soap+xml,application/xml,text/xml
45 Content-Type: text/xml
46 Content-Length: 179
48 <?xml version="1.0" encoding="UTF-8"?>
49 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
50 upload completely sent off: 179 out of 179 bytes
51 HTTP/1.1 302 Moved Temporarily
52 Date: Thu, 05 Jan 2012 21:34:19 GMT
53 Server: Apache-Coyote/1.1
54 Location: https://www.czebox.cz/apps/DS/dz
55 Content-Language: cs-CZ
56 Content-Length: 0
57 Added cookie IPCZ-X-COOKIE="00-d19d8c89758044fb9b2847e156307b9a" for domain czebox.cz, path /, expire 0
58 Set-Cookie: IPCZ-X-COOKIE=00-d19d8c89758044fb9b2847e156307b9a; Domain=.czebox.cz; Path=/; secure; HttpOnly
59 X-Frame-Options: Deny
60 Cache-Control: no-store,no-transform,private,max-age=0
61 Expires: 0
62 Content-Type: text/plain
64 Connection #0 to host www.czebox.cz left intact
65 Final response to https://www.czebox.cz/as/processLogin?type=hotp&uri=https://www.czebox.cz/apps/DS/dz received
66 Response body length: 0, content follows:
68 End of response body
69 OTP authentication headers received: method=(null), code=(null), message=(null)
70 OTP authentication headers redirect to: <https://www.czebox.cz/apps/DS/dz>
71 Server returned 302 HTTP code
72 User name and password for server https://www.czebox.cz/as/processLogin?type=hotp&uri=https://www.czebox.cz/apps/have been unset.
73 SOAP request to sent to https://www.czebox.cz/apps/DS/dz:
74 <?xml version="1.0" encoding="UTF-8"?>
75 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
77 End of SOAP request
78 Cookies will be stored and send because context has been authorized by OTP.
79 Sending POST request to <https://www.czebox.cz/apps/DS/dz>
80 POST body length: 179, content follows:
81 <?xml version="1.0" encoding="UTF-8"?>
82 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
84 End of POST body
85 Re-using existing connection! (#0) with host www.czebox.cz
86 Connected to www.czebox.cz (90.182.204.24) port 443 (#0)
87 POST /apps/DS/dz HTTP/1.1
88 User-Agent: libisds/0.5
89 Host: www.czebox.cz
90 Cookie: IPCZ-X-COOKIE=00-d19d8c89758044fb9b2847e156307b9a
91 Accept: application/soap+xml,application/xml,text/xml
92 Content-Type: text/xml
93 Content-Length: 179
95 <?xml version="1.0" encoding="UTF-8"?>
96 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
97 p://isds.czechpoint.cz/v20"/></Body></Envelope>
98 upload completely sent off: 179 out of 179 bytes
99 HTTP/1.1 200 OK
100 Date: Thu, 05 Jan 2012 21:34:19 GMT
101 Server: Apache-Coyote/1.1
102 Content-Type: text/xml;charset=utf-8
103 Cache-Control: no-store,no-transform,private,max-age=0
104 Expires: 0
105 Transfer-Encoding: chunked
107 Connection #0 to host www.czebox.cz left intact
108 Final response to https://www.czebox.cz/apps/DS/dz received
109 Response body length: 482, content follows:
110 <?xml version='1.0' encoding='utf-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><q:DummyOperationResponse xmlns:q="http://isds.czechpoint.cz/v20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><q:dmStatus><q:dmStatusCode>0000</q:dmStatusCode><q:dmStatusMessage>Provedeno úspěšně.</q:dmStatusMessage></q:dmStatus></q:DummyOperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
111 End of response body
112 OTP authentication headers received: method=(null), code=(null), message=(null)
113 Server returned 200 HTTP code
114 SOAP response received:
115 <?xml version='1.0' encoding='utf-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><q:DummyOperationResponse xmlns:q="http://isds.czechpoint.cz/v20" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><q:dmStatus><q:dmStatusCode>0000</q:dmStatusCode><q:dmStatusMessage>Provedeno úspěšně.</q:dmStatusMessage></q:dmStatus></q:DummyOperationResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
116 End of SOAP response
117 User 5nxu9j has been logged into server https://www.czebox.cz/ successfully
118 Logged in :)
119 Cookies will be stored and send because context has been authorized by OTP.
120 Sending GET request to <https://www.czebox.cz/as/processLogout?uri=https://www.czebox.cz/apps/DS/dz>
121 Re-using existing connection! (#0) with host www.czebox.cz
122 Connected to www.czebox.cz (90.182.204.24) port 443 (#0)
123 GET /as/processLogout?uri=https://www.czebox.cz/apps/DS/dz HTTP/1.1
124 User-Agent: libisds/0.5
125 Host: www.czebox.cz
126 Cookie: IPCZ-X-COOKIE=00-d19d8c89758044fb9b2847e156307b9a
127 Accept: application/soap+xml,application/xml,text/xml
128 Content-Type: text/xml
130 ncoding="UTF-8"?>
131 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Body><DummyOperation xmlns="http://isds.czechpoint.cz/v20"/></Body></Envelope>
132 p://isds.czechpoint.cz/v20"/></Body></Envelope>
133 HTTP/1.1 200 OK
134 Date: Thu, 05 Jan 2012 21:34:19 GMT
135 Server: Apache-Coyote/1.1
136 Content-Type: text/html;charset=utf-8
137 Content-Language: cs-CZ
138 Replaced cookie IPCZ-X-COOKIE="" for domain czebox.cz, path /, expire 1325799115
139 Set-Cookie: IPCZ-X-COOKIE=; Domain=.czebox.cz; Path=/; Expires=Fri, 31-Dec-2010 23:59:59 GMT; Max-Age=0
140 X-Frame-Options: Deny
141 Cache-Control: no-store,no-transform,private,max-age=0
142 Expires: 0
143 Transfer-Encoding: chunked
145 Connection #0 to host www.czebox.cz left intact
146 Final response to https://www.czebox.cz/as/processLogout?uri=https://www.czebox.cz/apps/DS/dz received
147 Response body length: 0, content follows:
149 End of response body
150 Cookie for OTP authenticated connection to <https://www.czebox.cz/apps/> has been invalidated.
151 Closing connection #0
152 SSLv3, TLS alert, Client hello (1):
153 petr@frank:~/projekty/libisds/libisds-devel/client $ 
154 Logged out from ISDS server
155 petr@frank:~/projekty/libisds/libisds-devel/cliepetr@frank:~/projekty/libisds/li