[Bug 488122] [NEW] Could not connect with certificate X509 authentification
sitro
chardron at dr15.cnrs.fr
Wed Nov 25 10:29:18 UTC 2009
Public bug reported:
Binary package hint: cadaver
With the GNUTLS library
$ cadaver --version
cadaver 0.23.2
neon 0.28.6: Library build, IPv6, libxml 2.7.3, zlib 1.2.3.3, GNU TLS 2.8.3.
readline 5.2
It is not possible to connect to webdav share that is protected by X509 authentication when the server ask a certificate.
Example :
$ cadaver https://www.epoc.u-bordeaux.fr/Test
WARNING: Untrusted server certificate presented for `www.epoc.u-bordeaux.fr':
Issued to: UMR5805, CNRS, FR
Issued by: CNRS, FR
Certificate is valid from Mon, 19 Jan 2009 09:02:50 GMT to Wed, 19 Jan 2011 09:02:50 GMT
Do you wish to accept the certificate? (y/n) y
The server has requested a client certificate.
Client certificate `/home/dr15/chardron/net/Certificat/certif-chardron-till2010.p12' is encrypted.
Decryption password:
Using client certificate.
Could not open collection:
Could not read status line: SSL error: Key usage violation in certificate has been detected.
With a version of cadaver compiled with openssl it is correct :
I tried with an old debian version of cadaver cadaver-ssl_0.22.2-1.1_i386.deb
cadaver --version
cadaver 0.22.2
neon 0.24.6: Bundled build, libxml 2.6.16, OpenSSL 0.9.7e 25 Oct 2004.
readline 5.2
$ cadaver https://www.epoc.u-bordeaux.fr/Test
WARNING: Untrusted server certificate presented for `www.epoc.u-bordeaux.fr':
Issued to: UMR5805, CNRS, FR
Issued by: CNRS, FR
Certificate is valid from Jan 19 09:02:50 2009 GMT to Jan 19 09:02:50 2011 GMT
Do you wish to accept the certificate? (y/n) y
The server has requested a client certificate.
Client certificate `Jean-Noel Chardron's CNRS ID' is encrypted.
Decryption password:
Using client certificate.
dav:/Test/> ls
Listing collection `/Test/': succeeded.
essai.ics 5190 Nov 19 12:19
essais.ics 910 Nov 18 15:49
info.php 350 Oct 16 13:01
programme_sessions_rst2010_en.pdf 391301 Oct 16 14:30
dav:/Test/>
ProblemType: Bug
Architecture: i386
Date: Wed Nov 25 11:22:28 2009
DistroRelease: Ubuntu 9.10
Package: cadaver 0.23.2-1
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: cadaver
Uname: Linux 2.6.31-15-generic i686
** Affects: cadaver (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386
--
Could not connect with certificate X509 authentification
https://bugs.launchpad.net/bugs/488122
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list