Using client certificates with wget
Posted
by
Doc
on Server Fault
See other posts from Server Fault
or by Doc
Published on 2009-10-12T17:58:32Z
Indexed on
2012/03/27
5:31 UTC
Read the original article
Hit count: 430
ssl-certificate
|wget
I cannot get wget to use the client certificates. The documentation speaks about using the --certificate flag.
The use of the certificate flag is clear, I set it to use the PEM version of the client certificate.
But when I connect I get the following error:
HTTP request sent, awaiting response... Read error (error:14094410:SSL routines:
SSL3_READ_BYTES:sslv3 alert handshake failure; error:140940E5:SSL routines:SSL3_
READ_BYTES:ssl handshake failure) in headers.
Giving up.
ssl handshake failure means the client did not supply a correct client cert. Still the client cert I use, works in a browser.
Note: When I disable client authentication on the server, wget can connect. Note: The use of curl is suggested, but I'd like to avoid the switch.
© Server Fault or respective owner