cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-440068 ] bad retcode when https refused by server

From: <noreply_at_sourceforge.net>
Date: Tue, 10 Jul 2001 07:58:17 -0700

Bugs item #440068, was opened at 2001-07-10 07:58
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=440068&group_id=976

Category: https
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: bad retcode when https refused by server

Initial Comment:
Curl returns code 0 when connecting without
certificate to HTTPS server which requires it.

I have Apache-1.3.20 with modssl-2.8.4 on W2k with
option to require client certificates.
When I try to get some page with curl without a
certificate ("curl https://server/page"), I get no
output and return code 0. I think this is wrong. The
behaviour with certificate is okay ("curl -E cert.pem
ttps://server/page" asks for the passphrase and
returns the page)

software versions:
curl 7.8 (win32) libcurl 7.8 (OpenSSL 0.9.6)
win2k proffesional SP1

tried also curl on redhat6.2 with the same result:
curl 7.8 (i686-pc-linux-gnu) libcurl 7.8 (OpenSSL
0.9.6b)

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=440068&group_id=976
Received on 2001-07-10