FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Openssl through HTTP Proxy (cUrl?)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Openssl through HTTP Proxy (cUrl?) [message #169352] Wed, 08 September 2010 04:58
mlemos is currently offline  mlemos
Messages: 2
Registered: September 2010
Karma:
Junior Member
Hello,

on 09/07/2010 05:16 PM Daniel said the following:
> Greetings all,
>
> I need to get an SSL certificate from a server outside of my corporate
> network. Inside the network, we use "openssl s_client -connect
> host:port" to get that and then use other openssl commands to get some
> information of interest. However, when accessing external sites, we
> must pass through an NTLM authenticated proxy and therefore direct
> connections simply give a connection refused. I Googled for some time
> and found no resolution to using openssl over a proxy.
>
> So I thought of using cUrl in some way, which can connect through the
> proxy if provided with proper options and authentication. So this
> allows me to connect to external sites and enabling "verbose" mode
> will allow me to output some of the certificate info (issuer, exp
> date, etc), but not all the info I can grab with openssl.
>
> So the question is, is anyone aware of a way to either connect with
> openssl over a NTLM authenticated proxy or retrieve all the SSL cert
> info using cUrl or some other function (maybe a combination of opening
> a connection with cUrl and having openssl commands run over this
> connection)?

You may want to try this HTTP client class. It supports SSL and several
authentication mechanisms including NTLM.

http://www.phpclasses.org/httpclient

You also need this package to provide NTLM client support.

http://www.phpclasses.org/sasl

--

Regards,
Manuel Lemos

JS Classes - Free ready to use OOP components written in JavaScript
http://www.jsclasses.org/

--- news://freenews.netfront.net/ - complaints: news(at)netfront(dot)net ---
[Message index]
 
Read Message
Next Topic: Re: Php variables to an email.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 02:43:23 GMT 2024

Total time taken to generate the page: 0.03368 seconds