[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] SSL client certificate problem

From: Estanislao Gonzalez
Subject: [Bug-wget] SSL client certificate problem
Date: Wed, 18 Aug 2010 13:34:43 +0200
User-agent: Thunderbird (X11/20090812)


I'm having a problem while trying to access a server which requires client SSL authentication.

I'm using this command and getting this trace:

# wget --ca-certificate=tomcat.pem --certificate=/root/.globus/certificate-file -O /tmp/page.html -d 'https://www.dkrz.de/orp/home.htm?redirect=http%3A%2F%2Fwww.dkrz.de%2Fdevelopment%2Fjavadocs%2F'

DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.

--2010-08-18 13:29:36-- https://www.dkrz.de/orp/home.htm?redirect=http%3A%2F%2Fwww.dkrz.de%2Fdevelopment%2Fjavadocs%2F
Resolving www.dkrz.de...
Caching www.dkrz.de =>
Connecting to www.dkrz.de||:443... connected.
Created socket 4.
Releasing 0x000000001c327d90 (new refcount 1).
Initiating SSL handshake.
SSL handshake failed.
OpenSSL: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Closed fd 4
Unable to establish SSL connection.

If I use cURL I have no problem:
curl 'https://www.dkrz.de/orp/home.htm?redirect=http%3A%2F%2Fwww.dkrz.de%2Fdevelopment%2Fjavadocs%2F' -E /root/.globus/certificate-file --cacert tomcat.pem --location-trusted --max-redirs 4 -c curl_cookie

(neither if I manually connect with openssl)

Am I missing something? Wget doesn't seem to be sending the certificate, both other tools are...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]