Solution for GnuTLS internal error in cadaver

Problem: the Linux WebDav client cadaver (Debian 0.23.3-1 binary package or compiled from source) fails the handshake abruptly instead of asking for the client certificate configured with set client-cert. When compiled from source, both GnuTLS and OpenSSL versions fail, although with slightly different error meesages. It used to work. The following error message is displayed by the GnuTLS version:

Could not open collection:
SSL handshake failed, client certificate was requested: SSL error: GnuTLS internal error.

Solution: the issue seems to be with libneon 0.27 and/or GnuTLS library. Downgrade to cadaver 0.22.5, which uses libneon 0.26, to make it work again.

3 comments:

Wally Atkins said...

I am running into this issue on Fedora 13 but I am not sure of the best/easiest/quickest way to downgrade.

Here is what I get when I run cadaver --version:

cadaver 0.23.3
neon 0.29.3: Library build, IPv6, Expat 2.0.1, zlib 1.2.3, GNU TLS 2.8.5.
readline 6.1

jpl said...

Well, the first thing I'd try is downloading cadaver 0.22.5 and compiling from source.

jpl said...

More specifically, I configured it like so:

./configure --prefix=/usr/local/cadaver-0.22.5 --with-ssl=gnutls --with-neon=/usr

(with /usr/lib/libneon.so.26.0.4 being there on my system)

Post a Comment