It's "hung" because you've actually successfully connected
to the web server, and the web server is waiting for your
query.

Try it again, and when you get to that point, try one of
the following (any of them) commands:

GET / HTTP/1.0<enter><enter>
GET /<enter>
HEAD / HTTP/1.0<enter><enter>
GET /index.html HTTP/1.0<enter><enter>

That should be enough to get you going.

Thomas

Juan Carlos Castro y Castro wrote:
> 
> More information: s_client seems to work (I'm using Win98, lots of
> updates from M$ applied), but at the end of the output it hangs and if I
> press Ctrl-C I get a protection fault before returning to the DOS
> prompt. Here's the last page of the output (looks valid to me):
> 
> -----END CERTIFICATE-----
> subject=/C=BR/ST=Rio de Janeiro/L=Rio de Janeiro/O=APPI Informatica
> LTDA/CN=www.
> appi.com.br
> issuer=/C=ZA/ST=Western Cape/L=Cape Town/O=Thawte Consulting
> cc/OU=Certification
>  Services Division/CN=Thawte Server [EMAIL PROTECTED]
> ---
> No client certificate CA names sent
> ---
> SSL handshake has read 1246 bytes and written 299 bytes
> ---
> New, TLSv1/SSLv3, Cipher is EDH-RSA-DES-CBC3-SHA
> Server public key is 1024 bit
> SSL-Session:
>     Protocol  : TLSv1
>     Cipher    : EDH-RSA-DES-CBC3-SHA
>     Session-ID:
> 19258209FD7D4A4092C979DDCD27C6A4C66E4397EE89408FF13F1E8AA1E88747
> 
> Session-ID-ctx:
>     Master-Key:
> 140D8E9D06376A1CF20082473D5BDC737706CDCCEED6B32745DDC625589188A9
> 2E4719E67268EB3289E020DC4E394431
>     Key-Arg   : None
>     Start Time: 930847155
>     Timeout   : 300 (sec)
> ---
> 
> ...and at this point the cursor just keeps blinking. The core dump
> details are like this:
> 
> OPENSSL caused an invalid page fault in
> module <unknown> at 00de:7c11171c.
> Registers:
> EAX=c16254a4 CS=0177 EIP=7c11171c EFLGS=00010202
> EBX=00000000 SS=017f ESP=006ef298 EBP=006ef2e0
> ECX=c17c5200 DS=017f ESI=7c11171c FS=3af7
> EDX=00000100 ES=017f EDI=ffffffff GS=3b2e
> Bytes at CS:EIP:
> 
> Stack dump:
> bff85046 0000fffe ffffffff 000000c0 00000000 00000000 00000000 00000000
> 00000001 8176a670 00000001 c16254a4 005c0cb4 006ef0c8 006efe28 bffbfe14
> 
> -------- Original Message --------
> Subject: Stumped Newbie
> Date: Thu, 01 Jul 1999 13:15:02 -0300
> From: Juan Carlos Castro y Castro <[EMAIL PROTECTED]>
> Organization: APPI Informática
> To: OpenSSL List <[EMAIL PROTECTED]>
> 
> Hi. I'm trying to use openssl 0.9.3a under MS VC++ 5 (In which I am a
> newbie too, as much as in SSL. More used to gcc). The openssl libraries
> built ok, no errors (according to INSTALL.W32). I'm trying to build the
> small cli.c demo program as a Win32 console app, but all I get when I
> run it is:
> 
> socket: No error
> 
> It seems the socket call failed but the error information was not set.
> In order to compile the program, I had to include the static libraries
> (.lib) for Winsock plus the ones openssl builds in the out32dll
> directory. Don't know how to make it use only the DLLs. Strange thing
> is, it asked for SSLEAY32.DLL anyway when it ran.
> 
> I also copied the include directory openssl onto VC++'s, include tree.
> And make some modifications in the #include statements in order to use
> winsock. Oh, and also changed close() to closesocket(). And that's all.
> 
> Help pleez? Pretty pleez?
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

-- 
------------------------------------------------------------
Thomas Reinke                            Tel: (416) 460-7021
Director of Technology                   Fax: (416) 598-2319
E-Soft Inc.                         http://www.e-softinc.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to