Hi,

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... 136.172.11.3
Caching www.dkrz.de => 136.172.11.3
Connecting to www.dkrz.de|136.172.11.3|: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...

Thanks!
Estani


Reply via email to