cURL / Mailing Lists / curl-users / Single Mail

curl-users

HTTPS Problem

From: shlomit lisser <shlomit_at_gosms.com>
Date: Sun, 29 Dec 2002 22:33:07 +0200

Hello!

I'm using the latest version of cURL. I also entered the --cacert option
using the ca-bundle certificate file, in case the server
requires that. All looks fine (to my eyes..) however I'm still not able to
retrieve the web content. I'm getting a 'session timeout' page.
The return codes are 200 ok and after looking very thoroughly in the
mailing list I'm running out of ideas.

I'm sending the headers and page results. they have been changed slightly.
I'll appreciate any comment on that.

Shlomit.

curl-m 180 -v -0 --cacert d:\temp\tip\ca-bundle.crt -o E:\TMP\tmp15740.crl
-i -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
https://sbmmur.sbmonline.com:443/fc@.asp
* About to connect() to sbmmur.sbmonline.com:443
* Connected to sbmmur.sbmonline.com (202.123.31.93) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=MU/ST=PORT LOUIS/L=PORT LOUIS/OU=Terms of use at
www.saca.net/RPA (c)00/OU=Authenticated by SACA/OU=Member, VeriSign Trust
Network/O=STATE BANK OF MAURITIUS LTD/OU=STATE BANK OF MAURITIUS
LTD/CN=sbmmur.sbmonline.com
* start date: 2002-03-02 00:00:00 GMT
* expire date: 2003-03-16 23:59:59 GMT
* common name: sbmmur.sbmonline.com (matched)
* issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
> GET /fc@.asp HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: sbmmur.sbmonline.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

   % Total % Received % Xferd Average Speed Time Curr.
                                  Dload Upload Total Current Left Speed
   0 1256 0 0 0 0 0 0 --:--:-- 0:00:04
--:--:-- 0100 1256 100 1256 0 0 255 0 0:00:04
0:00:04 0:00:00 11522
* Connection #0 left intact
* Closing connection #0
got HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sun, 29 Dec 2002 20:09:53 GMT
Content Location: flexlive.com
Connection: Keep-Alive
Content-Length: 1256
Content-Type: text/html
Set-Cookie: ASPSESSIONIDCQTCATCT=MHKHEGFBJFAECBKMMDKMIKHD; path=/
Cache-control: private

-----> Getting a login page

curl-m 180 -v -0 --cacert d:\temp\tip\ca-bundle.crt -o E:\TMP\tmp74760.crl
-i -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -e
https://sbmmur.sbmonline.com:443/fc@.asp -b
"ASPSESSIONIDCQTCATCT=MHKHEGFBJFAECBKMMDKMIKHD"
https://sbmmur.sbmonline.com:443/flexcubeat/LiveConnect.dll?EntryFunc&fldAppID=CM&fldTxnID=LGN&fldScrSeqNo=00&fldLangID=ENG&fldDeviceID=01&fldRequestorID=40
* About to connect() to sbmmur.sbmonline.com:443
* Connected to sbmmur.sbmonline.com (202.123.31.93) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=MU/ST=PORT LOUIS/L=PORT LOUIS/OU=Terms of use at
www.saca.net/RPA (c)00/OU=Authenticated by SACA/OU=Member, VeriSign Trust
Network/O=STATE BANK OF MAURITIUS LTD/OU=STATE BANK OF MAURITIUS
LTD/CN=sbmmur.sbmonline.com
* start date: 2002-03-02 00:00:00 GMT
* expire date: 2003-03-16 23:59:59 GMT
* common name: sbmmur.sbmonline.com (matched)
* issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
> GET
/flexcubeat/LiveConnect.dll?EntryFunc&fldAppID=CM&fldTxnID=LGN&fldScrSeqNo=00&fldLangID=ENG&fldDeviceID=01&fldRequestorID=40
HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Cookie: ASPSESSIONIDCQTCATCT=MHKHEGFBJFAECBKMMDKMIKHD
Host: sbmmur.sbmonline.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer: https://sbmmur.sbmonline.com:443/fc@.asp

   % Total % Received % Xferd Average Speed Time Curr.
                                  Dload Upload Total Current Left Speed
   0 0 0 0 0 0 0 0 --:--:-- 0:00:04
--:--:-- 0 0 0 0 0 0 0 0 0
--:--:-- 0:00:05 --:--:-- 0100 15912 0
15912 0 0 1536 0 --:--:-- 0:00:10 --:--:-- 2582100
15912 0 15912 0 0 1536 0 --:--:-- 0:00:10 --:--:-- 2582
* Connection #0 left intact
* Closing connection #0
got HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sun, 29 Dec 2002 20:09:57 GMT
Content-type: text/html; charset=UTF8

---> Login in

curl-m 180 -v -0 --cacert d:\temp\tip\ca-bundle.crt -o E:\TMP\tmp90749.crl
-i -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" -e
https://sbmmur.sbmonline.com:443/flexcubeat/LiveConnect.dll?EntryFunc&fldAppID=CM&fldTxnID=LGN&fldScrSeqNo=00&fldLangID=ENG&fldDeviceID=01&fldRequestorID=40
-b "ASPSESSIONIDCQTCATCT=MHKHEGFBJFAECBKMMDKMIKHD" -d
MfcISAPICommand=EntryFunc&fldAppID=CM&fldTxnID=LNG&fldScrSeqNo=01&fldRequestorID=41&fldDeviceID=01&fldLangID=ENG&fldUserID=$1&fldUserPass=$2
https://sbmmur.sbmonline.com:443/flexcubeat/LiveConnect.dll
* About to connect() to sbmmur.sbmonline.com:443
* Connected to sbmmur.sbmonline.com (202.123.31.93) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=MU/ST=PORT LOUIS/L=PORT LOUIS/OU=Terms of use at
www.saca.net/RPA (c)00/OU=Authenticated by SACA/OU=Member, VeriSign Trust
Network/O=STATE BANK OF MAURITIUS LTD/OU=STATE BANK OF MAURITIUS
LTD/CN=sbmmur.sbmonline.com
* start date: 2002-03-02 00:00:00 GMT
* expire date: 2003-03-16 23:59:59 GMT
* common name: sbmmur.sbmonline.com (matched)
* issuer: /O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign
International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref.
LIABILITY LTD.(c)97 VeriSign
> POST /flexcubeat/LiveConnect.dll HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Cookie: ASPSESSIONIDCQTCATCT=MHKHEGFBJFAECBKMMDKMIKHD
Host: sbmmur.sbmonline.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Referer:
https://sbmmur.sbmonline.com:443/flexcubeat/LiveConnect.dll?EntryFunc&fldAppID=CM&fldTxnID=LGN&fldScrSeqNo=00&fldLangID=ENG&fldDeviceID=01&fldRequestorID=40
Content-Length: 140
Content-Type: application/x-www-form-urlencoded

MfcISAPICommand=EntryFunc&fldAppID=CM&fldTxnID=LNG&fldScrSeqNo=01&fldRequestorID=41&fldDeviceID=01&fldLangID=ENG&fldUserID=$1&fldUserPass=$2
% Total % Received % Xferd Average Speed Time Curr.
                                  Dload Upload Total Current Left Speed
   0 0 0 0 0 0 0 0 --:--:-- 0:00:04
--:--:-- 0100 7350 0 7350 0 0 1096 0
--:--:-- 0:00:06
--:--:-- 3571100 7350 0 7350 0 0 1096 0
--:--:-- 0:00:06 --:--:-- 3569
* Connection #0 left intact
* Closing connection #0
got HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Sun, 29 Dec 2002 20:10:09 GMT
Content-type: text/html; charset=UTF8

and the page which is accepted is -->

þ< H T M L >
  < H E A D >

  < T I T L E > S B M N E T - S e s s i o n T i m e o u t < / T I T L
E >

  .......

                          Y o u r s e s s i o n h a s b e e n t e r
m i n a t e d f o r s e c u r i t y r e a s o n s !
                  < / t d >
          < / t r >

                  < t d c l a s s = " D a t a L e f t A l i g n e d B o l
d " >
                          P l e a s e t r y a g a i n a f t e r s o
m e t i m e .
                  < / t d >
          < / t r >
          < t r >
                  < t d >
                          & n b s p ;
                  < / t d >
          < / t r >
  < ! - - < t r >

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-29