[gnutls-dev] Re: GnuTLS 1.5.1 for Windows

Andreas Metzler ametzler at downhill.at.eu.org
Sat Sep 23 10:28:05 CEST 2006


On 2006-09-21 Ralf Angeli <angeli at caeruleus.net> wrote:
[...]
> I'm not sure.  I get the following when executing the first line in
> cmd.exe.  The output appears till the line starting with "220".  After
> that it does nothing.  When typing `C-c' for aborting the operation
> the last lines (starting with "***") appear.

> C:\foo>gnutls-cli --print-cert --port 25 --starttls smtp.web.de
> Resolving 'smtp.web.de'...
> Connecting to '217.72.192.157:25'...

> - Simple Client Mode:

> 220 smtp06.web.de ESMTP WEB.DE V4.107#114 Thu, 21 Sep 2006 22:08:51 +0200
> *** Starting TLS handshake
> *** Fatal error: A record packet with illegal version was received.
> *** Handshake has failed
> ^C
[...]

You'll need to EHLO, send STARTTLS and (on Linux, don't know abot
windows) <Ctrl>-D to start the handshake.
--------------------------------
ametzler at argenau:~$ gnutls-cli --print-cert --port 25 --starttls smtp.web.de
Resolving 'smtp.web.de'...
Connecting to '217.72.192.157:25'...

- Simple Client Mode:

220 smtp06.web.de ESMTP WEB.DE V4.107#114 Sat, 23 Sep 2006 10:24:44 +0200
ehlo adsl-028.252.166.194.arpa.as1901.net
250-smtp06.web.de Hello adsl-028.252.166.194.arpa.as1901.net. [194.166.252.28]
250-SIZE 69920427
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
starttls
220 OpenSSL/0.9.7beta go ahead
*** Starting TLS handshake
- Certificate type: X.509
[...]
- Version: TLS 1.0
- Key Exchange: RSA
- Cipher: AES 256 CBC
- MAC: SHA
- Compression: NULL
quit
221 smtp06.web.de closing connection
- Peer has closed the GNUTLS connection
--------------------------------

cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde




More information about the Gnutls-devel mailing list