cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: https and certs

From: Bryan Koschmann - GKT <gktnews_at_gktech.net>
Date: Tue, 6 May 2003 13:46:33 -0700 (PDT)

On Tue, 6 May 2003, Daniel Stenberg wrote:

Daniel, thanks for the reply..

|You should mention what curl version on what operating system as well, as it
|helps us to understand the problem better and makes it easier to suggest an
|appropriate action.

My apologies, I forgot. Slackware 8.1, curl 7.10.

|(If you are on a unix-like operating system, the default CA cert bundle is
|usually installed at the same time curl is installed and curl is then using
|that one already if you don't tell it otherwise.)
|
|You can:
|
| A) Disable the check for a valid remote peer certificate with -k. It makes
| the connection less secure of course.
|
| B) If you are on windows, rename the ca cert bundle to curl-ca-bundle.crt
| and put in it in the same dir as curl and retry.
|
| C) Use --cacert ca-cert-bundle.pem

Thank you! I was able to login using the -d options and the -k. However
the --cacert ca-cert-bundle.pem still gives the above error. That is okay
for now.

My next problem is the site does some oddball redirects (302 errors) which
only are visible when using curl. I see nothing when using the browser.
Trying to use the -D option only shows this:

HTTP/1.0 302 Found
Date: Tue, 06 May 2003 20:32:14 GMT
Server: Apache/1.3.14 (Unix) mod_perl/1.25 mod_ssl/2.7.1 OpenSSL/0.9.6
Location: https://apps.here.com/host/login.html
Content-Type: text/html; charset=iso-8859-1

So pretty now, now that I initially got in, I have to figure out how to
get my page.

Any thoughts on this, or am I pretty much out of luck using curl for this?

Thanks,

        Bryan

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
Received on 2003-05-06