[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gnutls] Re: help troubleshooting "TLS packet with unexpected lengt
From: |
Simon Josefsson |
Subject: |
[Help-gnutls] Re: help troubleshooting "TLS packet with unexpected length was received" error |
Date: |
Mon, 23 Mar 2009 17:09:58 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
Brad Fritz <address@hidden> writes:
> I am able to reproduce the problem using gnutls-cli v2.6.4 built from
> source:
>
> ./src/gnutls-cli -d 4711 --x509cafile
> /usr/share/ca-certificates/mozilla/ValiCert_Class_2_VA.crt api.smugmug.com
The server is buggy, it does not handle MAC padding correctly, since
this appears to work:
gnutls-cli -d 4711 --x509cafile
/usr/share/ca-certificates/mozilla/ValiCert_Class_2_VA.crt api.smugmug.com
--priority NORMAL:%COMPAT
The %COMPAT keyword disables MAC padding. You can read about it here:
http://www.gnu.org/software/gnutls/manual/html_node/On-Record-Padding.html
/Simon