cURL / Mailing Lists / curl-users / Single Mail


Re: Curl command line + HTTPS + SSL prompt

From: Adrianyong <>
Date: Tue, 31 Mar 2009 00:19:57 -0700 (PDT)

Section 13 and 14 is very informative..but their explanation is very abstract..
some examples on how to login to an SSL login would be appreciated.

unfortunately... examples are very few..

The website that I'm logging into provides a self-signing certificate..using Internet Explorer I'm able to login. The certificate from that domain is actually invalid because it is stated "Issue to" refering to another website

however I'm able to by pass the login screen and access an inner page by specifying. The next page https URL
curl -b username=administrator -d password=password-d submit=submit -k --trace traceamex_https19.txt

i think this is a good things.. because ...authetication issue has been solved..
however i need to access a hyperlink contain in that page.

and the link is

Please notice... .../UploadAction?action...... this link/url uses an engine to translate request to http file paths...
e.g. curl -k --url --trace-ascii preparesearch -c roast.txt.

Please note that UploadAction.jsp 's jsp clause does not exist at all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<title>SME Credit Bureau (Contributor)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/css.css" rel="stylesheet" type="text/css">
<BR><strong><font color="#B45618" size="2">&nbsp;&nbsp;&nbsp;Error On Page. Plea
se contact administrator and try again later.

How does curl interact with a parsed query? And most of all how do i upload a file using multiple command lines?.

--- On Fri, 3/27/09, <> wrote:

From: <>
Subject: curl-users Digest, Vol 43, Issue 30
Date: Friday, March 27, 2009, 7:00 PM

Send curl-users mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-users digest..."

Today's Topics:

   1. Re: Curl command line + HTTPS + SSL prompt (Daniel Stenberg)


Message: 1
Date: Fri, 27 Mar 2009 11:20:36 +0100 (CET)
From: Daniel Stenberg <>
Subject: Re: Curl command line + HTTPS + SSL prompt
To: the curl tool <>
Message-ID: <>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Fri, 27 Mar 2009, Adrianyong wrote:

> I tried the test code many times. But i can't seem to bring it to the next
> page or to login at the same time. Any ideas? I've google a lot of websites,
> and tweaked the code many times. I posted my various attempts below.

You most likely can't do it with just a single command line.

See section 13 and 14

curl-users mailing list
End of curl-users Digest, Vol 43, Issue 30

List admin:
Received on 2009-03-31