Bug#459323: exim4: Incredimail problem sending email using Exim4 SMTP over SSL / TLS error on connection from [ip.ad.dr.ess] (gnutls_handshake): A TLS packet with unexpected length was received.

Simon Josefsson simon at josefsson.org
Sun Jan 6 14:43:28 UTC 2008


Marc Haber <mh+debian-packages at zugschlus.de> writes:

> On Sun, Jan 06, 2008 at 03:00:59PM +0100, Simon Josefsson wrote:
>> "Andrew McGlashan" <andrew.mcglashan at affinityvision.com.au> writes:
>> >> If you don't see a cleartext "EHLO something", please retry with
>> >> openssl s_server instead of the socat.
>> >
>> > I couldn't work out how to use openssl s_server properly....
>> 
>> Try:
>> 
>> openssl s_server -accept 4465 -debug -msg
>> 
>> and try IM on port 4465 against it.  And also try:
>> 
>> gnutls-serv --port 4465 --debug 4711
>
> Don't both servers insist on a certificate and a private key?

Hm, perhaps.  So, Andrew, could you test with:

openssl s_server -accept 4465 -debug -msg -cert /path/to/cert.pem -key /path/to/key.pem -CAfile /path/to/ca.pem

and

gnutls-serv --port 4465 --debug 4711 --x509certfile /path/to/cert.pem --x509keyfile /path/to/key.pem --x509cafile /path/to/ca.pem

Replace /path/to/*.pem with your server's certificate/key/ca files.

Thanks,
/Simon





More information about the Pkg-exim4-maintainers mailing list