Hello, 

I'm trying to get a file from HTTPS using Crypt:SSLeay and so far it works
for other HTTPS URL but not this particular url however, a person advise me
to pass a proxy.  How do you pass the proxy?  I have the syntax but not sure
if I'm suppose to use on the REQUEST part before getting the file or what??

Here is what I asked below:
For instance, my variable $req = new
> HTTP::Request('GET','https://user:[EMAIL PROTECTED]/path')
> 
> Now where do I set it to go thru a proxy?  Do I say :
> $req = $ua->proxy('http','http://proxy path');
> I'm not sure how to code to say to get this file thru a proxy?

Barbara P. Clarke
Tel: (404)241-4977
Fax: (404)212-0726


-----Original Message-----
From: Joshua Chamas [mailto:[EMAIL PROTECTED]] 
Sent: Friday, December 08, 2000 5:47 PM
To: Clarke, Barbara P, HRSVC
Subject: Re: FW: SSL



I don't know about much about proxying, except it doesn't 
currently work with Crypt::SSLeay ... for https support under
LWP, generally, you should send email to 

  "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

, which I read... for general lwp issues, there's another list.

--Josh

"Clarke, Barbara P, HRSVC" wrote:
> 
> Josh, in order to set a proxy do I assign it to the request or response
> variable?
> 
> For instance, my variable $req = new
> HTTP::Request('GET','http://user:[EMAIL PROTECTED]/path')
> 
> Now where do I set it to go thru a proxy?  Do I say :
> $req = $ua->proxy('http','http://proxy path');
> I'm not sure how to code to say to get this file thru a proxy?
> 
> Thanks in advance!
> 
> Barbara P. Clarke
> Tel: (404)241-4977
> Fax: (404)212-0726
> 
> -----Original Message-----
> From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 26, 2000 10:24 PM
> To: Clarke, Barbara P, HRSVC
> Subject: Re: FW: SSL
> 
> Did I get back to you on this yet?  Sorry if not...
> when passing an auth URL to LWP, just form the URL like:
> 
>   http://user:[EMAIL PROTECTED]/path
> 
> LWP::UserAgent will handle the parsing from there.
> 
> --Josh
> 
> "Clarke, Barbara P, HRSVC" wrote:
> >
> > Joshua,
> >
> > Well I finally downloaded the correct Crypt-SSLeay and it's working to a
> > point. :)  I'm getting a file from a url that via HTTPS and it needs a
> > password.  I notice there is a method called credentials but the first 2
> > parameters, I'm not sure to put in there.  It's
> > $ua->credentials($netloc,$realm,$uname,$pass).  I have the user id and
> > password and I'm assuming $realm will be "BASIC" but not sure what to
put
> in
> > $netloc.  Right now I'm getting an internal server error 500 that it
> cannot
> > connect.  I can get there via the web but have to an id/password first.
> >
> > So if you have any examples that pass an id/password via the request
> > handler, hopefully that will solve my problem.
> >
> > Thanks for your time and have a great holiday!
> >
> > Barbara P. Clarke
> > Tel: (404)241-4977
> > Fax: (404)327-8932
> >
> > -----Original Message-----
> > From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 15, 2000 2:36 PM
> > To: Clarke, Barbara P, HRSVC
> > Subject: Re: FW: SSL
> >
> > ActiveState perl builds correspond to other real perl version
> > numbers, so 522 might have been 5.00503 and 618 something else.
> > Go to www.ActiveState.com for these perl builds.
> >
> > --Joshua
> >
> > "Clarke, Barbara P, HRSVC" wrote:
> > >
> > > Sorry to bother you Joshua but when you say:
> > >         They only have Crypt::SSLeay compiled for perl builds 522 and
> 618
> > >   I believe.
> > > That means it would not work for perl build 5.005, correct?  If I want
> it
> > to
> > > work, I would have to upgrade my perl.
> > >
> > > Barbara P. Clarke
> > > Tel: (404)241-4977
> > > Fax: (404)327-8932
> > >
> > > -----Original Message-----
> > > From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 14, 2000 9:56 PM
> > > To: Clarke, Barbara P, HRSVC
> > > Subject: Re: FW: SSL
> > >
> > > I'm sorry, but I can't saying anything than I did before:
> > >
> > >   They only have Crypt::SSLeay compiled for perl builds 522 and 618
> > >   I believe.  If at first ppm doesn't work, try again, as it can be
> > >   just network connectivity getting in the way.
> > >
> > > You likely need the ActiveState compiled perl builds.  Building this
> > > yourself is going to be a problem, but if you have a lot of time
> > > and patience, you can try to compile perl & all its modules yourself
> > > on Win32 platform, but its unlikely.
> > >
> > > --Josh
> > >
> > > "Clarke, Barbara P, HRSVC" wrote:
> > > >
> > > > Also, I manually downloaded the files because when I go on PPM and I
> > type
> > > > "install crypt-ssleay" it says it cannot find the PPD file which I
do
> > > see???
> > > > My http is set for firewalls and proxies.
> > > >
> > > > Barbara P. Clarke
> > > > Tel: (404)241-4977
> > > > Fax: (404)327-8932
> > > >
> > > > -----Original Message-----
> > > > From: Clarke, Barbara P, HRSVC
> > > > Sent: Tuesday, November 14, 2000 5:15 PM
> > > > To: 'Joshua Chamas'
> > > > Subject: RE: FW: SSL
> > > >
> > > > Joshua,
> > > >
> > > > I just tried to test my perl code use ssl but it comes back w/ an
> error
> > > > saying it cannot find DLL perl56.dll.  We are using perl 5.005, so
> does
> > > that
> > > > mean crypt::ssleay doesn't work on older version?
> > > >
> > > > Barbara P. Clarke
> > > > Tel: (404)241-4977
> > > > Fax: (404)327-8932
> > > >
> > > > -----Original Message-----
> > > > From: Joshua Chamas [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, October 17, 2000 8:53 PM
> > > > To: Clarke, Barbara P, HRSVC
> > > > Subject: Re: FW: SSL
> > > >
> > > > "Clarke, Barbara P, HRSVC" wrote:
> > > > >
> > > > > Hi Joshua,
> > > > >
> > > > > I had to manually download crypt-ssleay because some reasom when I
> use
> > > ppm
> > > > > it says it cannot find the PPD.  My activePerl is 5.005 so I'm
> > searching
> > > > at
> > > > > the right place but I don't know why an error.
> > > > >
> > > >
> > > > They only have Crypt::SSLeay compiled for perl builds 522 and 618
> > > > I believe.  If at first ppm doesn't wrok, try again, as it can be
> > > > just network connectivity getting in the way.
> > > >
> > > > > Now that I got the SSLeay.pm file, I'm not sure what function I'm
> > > suppose
> > > > to
> > > > > use to get a file from outside the firewall?  I thought I was
going
> to
> > > use
> > > > > like a "get_https" but it gives an example like this:
> > > > >
> > > > > use LWP::UserAgent;
> > > > >   my $ua = new LWP::UserAgent;
> > > > >   my $req = new HTTP::Request('GET', 'https://www.nodeworks.com');
> > > > >   my $res = $ua->request($req);
> > > > >
> > > >
> > > > This is right.  Crypt::SSLeay get called for handling https URLs.
> > > >
> > > > > Does that mean I don't have to use a id/password to get info from
> > > another
> > > > > secure server?
> > > > >
> > > >
> > > > Yes, the connection is secure, not user identity.
> > > >
> > > > > I guess I'm getting confuse w/ Net::SSLeay which looks like it
only
> > > works
> > > > > for UNIX and I'm using an NT.
> > > > >
> > > > > Basically I'm just trying to get a data file from a UNIX server
> > outside
> > > > the
> > > > > firewall and bring it to my NT server to use....Do you have any
> sample
> > > > code
> > > > > that will help me?
> > > > >
> > > >
> > > > It should all work find on NT, just get the ActiveState ppm
installed.
> > > >
> > > > --Joshua
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to