cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: SSL CURL WINDOWS

From: Amaury JOB <a.job_at_ldlc.fr>
Date: Mon, 5 Mar 2001 12:24:09 +0100

Not really. I think U see my english is not really good.
I will to explain that correctly:

When I start Apache, there is, in a DOS window:
        Apache/1.3.9 (Win32) mod_ssl/2.4.9 OpenSSL/0.9.4 running...

In a php3 file, I have the script below:

$ch = curl_init(https://secured_server.com);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch,CURLOPT_SSLVERSION,3);
curl_setopt ($ch, CURLOPT_USERPWD, $pass);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $param);
curl_exec($ch);

print "Error: ".curl_error($ch)."<BR>\n";
print "Error Num: ".curl_errno($ch)."<BR>\n";

curl_close ($ch);

When I execute this page, I get the error below.
I think this error is the same which explain on Curl web site: Curl is not
compiled with ssl.
Working during 15 days and read all FAQ in english, and it doesn't working!!
:o/
What is the complete curl installation in Apache under windows?

Jörn, when I call curl -V in a DOS window, I get this:
        Curl 7.6.1 (win32) libcurl 7.6.1 (SSL 0.9.6)

I think openssl is well started, but curl doesn't know it...
How to include start of curl.exe in start of Apache...

Thanks, thanks, thanks.

Amaury

 -----Message d'origine-----
De : curl-library-admin_at_lists.sourceforge.net
[mailto:curl-library-admin_at_lists.sourceforge.net] De la part
deJoern.Hartroth_at_comma-soft.com
Envoyé : lundi 5 mars 2001 11:50
À : curl-library_at_lists.sourceforge.net
Objet : RE: SSL CURL WINDOWS

Allright, let me try to understand this: You take curl.exe, libeay32.dll,
and libssl32.dll from the archives at the curl site, put all of them into
one directory which lies on the executable %PATH, and when calling curl.exe
on an https:// URL, you get the error below?
I'd say that this points to some path confusion problem, possibly you have
another (non-ssl) curl.exe earlier in the path. Call "curl -V" and check if
it reports "(SSL 0.9.6)" at the end of the version string. If an ssl-enabled
curl-executable is started with the openssl libs missing you should get an
error dialog window rather than a curl error message.

Jörn

> -----Original Message-----
> From: Amaury JOB [mailto:a.job_at_ldlc.fr]
> Sent: Monday, March 05, 2001 11:14 AM
> To: curl-library_at_lists.sourceforge.net
> Subject: RE: SSL CURL WINDOWS
>
>
> OK. I download openssl-0.9.6-win32-bin.zip, and
> curl-7.6.1-win32-ssl.zip.
> I unzip them in new directory openssl-0.9.6.
> There are only 10 files:
> openssl.exe
> libeay32.dll
> libssl32.dll
> README.1ST
> CHANGES
> FAQ
> LICENCE
> NEWS
> README
> Curl.exe
>
> But after start Apache, when I execute my page which connect
> on https://
> server, there is an error:
> Error: SSL is disabled, https: not supported!
> Error Num: 1
>
> Do U know this problem?
>
> Amaury
>
> -----Message d'origine-----
> De : curl-library-admin_at_lists.sourceforge.net
> [mailto:curl-library-admin_at_lists.sourceforge.net] De la part
> deJoern.Hartroth_at_comma-soft.com
> Envoyé : lundi 5 mars 2001 10:24
> À : curl-library_at_lists.sourceforge.net
> Objet : RE: SSL CURL WINDOWS
>
> You can put the curl executable anywhere you want and it'll
> work fine as
> long as the openssl libraries can be found in a directory
> covered by the
> %PATH environment variable. I suggest putting both the
> openssl dlls and
> curl.exe under %PATH so that you can call them from anywhere.
> By the way, you wouldn't have needed to compile openssl yourself,
> precompiled binaries can be downloaded from the curl site
> (right at the
> bottom of the download page.)
>
> Regards,
> Jörn
>
> > -----Original Message-----
> > From: Amaury JOB [mailto:a.job_at_ldlc.fr]
> > Sent: Monday, March 05, 2001 10:01 AM
> > To: curl-library_at_lists.sourceforge.net
> > Subject: RE: SSL CURL WINDOWS
> >
> >
> > Ok. OpenSSL is compiled.
> > I download curl-7.6.1-win32-ssl.zip.
> > Where do I unzipp it?
> > What I have to do after?
> >
> > Amaury
> >
> >
> > -----Message d'origine-----
> > De : curl-library-admin_at_lists.sourceforge.net
> > [mailto:curl-library-admin_at_lists.sourceforge.net] De la part
> > deJoern.Hartroth_at_comma-soft.com
> > Envoyé : vendredi 2 mars 2001 14:21
> > À : curl-library_at_lists.sourceforge.net
> > Objet : RE: SSL CURL WINDOWS
> >
> > Then why don't you just pull the precompiled binary archives
> > for Win32 (curl
> > + openssl 0.9.6) from the curl Web site?! They've worked out
> > of the box for
> > quite some time now.
> >
> > If you want to compile curl/Win32 yourself for php support,
> > you should be
> > fine as long as you stick to MingW32 gcc 2.95 and the openssl
> > libs from the
> > curl site. YMMV for MSVC. Except for two or three problems
> > with out-of-date
> > configuration files (all of which were already discussed in
> > this thread) the
> > latest source archive of curl-7.6.1 compiles perfectly on
> > MingW32 with this
> > exact setup.
> > Maybe you should check into the path settings in your
> > Makefiles once again.
> >
> > Jörn
> >
> > > -----Original Message-----
> > > From: Amaury JOB [mailto:a.job_at_ldlc.fr]
> > > Sent: Friday, March 02, 2001 1:46 PM
> > > To: curl-library_at_lists.sourceforge.net
> > > Subject: SSL CURL WINDOWS
> > >
> > >
> > > Hi everybody!
> > >
> > > I want to connect me on a secured server (https://), via php,
> > > on a Apache
> > > Server, under Windows.
> > > I had installed openssl, it doesn't work.
> > > I had installed cURL, it doesn't work.
> > >
> > > Is anyone can help me to connect me on a SSL server. I just
> > > want to read a
> > > page which is on a https:// server.
> > >
> > > Thanks a lot.
> > >
> > > Amaury
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Curl-library mailing list
> > > Curl-library_at_lists.sourceforge.net
> > > http://lists.sourceforge.net/lists/listinfo/curl-library
> > >
> >
> > _______________________________________________
> > Curl-library mailing list
> > Curl-library_at_lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/curl-library
> >
> >
> >
> > _______________________________________________
> > Curl-library mailing list
> > Curl-library_at_lists.sourceforge.net
> > http://lists.sourceforge.net/lists/listinfo/curl-library
> >
>
> _______________________________________________
> Curl-library mailing list
> Curl-library_at_lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/curl-library
>
>
>
> _______________________________________________
> Curl-library mailing list
> Curl-library_at_lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/curl-library
>

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-03-05