Home »
Imported messages »
comp.lang.php »
Re: Openssl through HTTP Proxy (cUrl?)
Re: Openssl through HTTP Proxy (cUrl?) [message #169352] |
Wed, 08 September 2010 04:58 |
mlemos
Messages: 2 Registered: September 2010
Karma: 0
|
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 ---
|
|
|
Goto Forum:
Current Time: Wed Nov 27 12:24:55 GMT 2024
Total time taken to generate the page: 0.03222 seconds