per commandline durchh Proxy per connect

Jan 'RedBully' Seiffert redbully at cc.fh-luh.de
Sat Oct 14 19:23:41 CEST 2006


Thomas Laubrock wrote:
> Hi,
> 
> Habe hier das Problem, dass ich einer sehr eingeschränkten Umgebung
> einen HTTPS Dienst debuggen muss.
> 
???
Nagut.

> Leider kann ich diesen Dienst nur per Proxy erreichen.
> Da der Dienst beim SSL-Handschake mit meiner Anwendung Probleme macht,
> würde ich gerne das ganze mal mit einem:
> 
> openssl s_client -connect x.y.z.a:###
> 
> testen.
> Hat jemand eine Idee, wie ich dem openssl beibringen kann einen proxy
> zu benutzen?

Dumm gefragt:
Dein Proxy ist im enviroment gesetzt? Mit ein bischen glueck (es ist
leider nirgends in der man-page erwaehnt) reagiert s_client darauf
genauso wie wget, curl, u.a..
curl(1):
ENVIRONMENT
       http_proxy [protocol://]<host>[:port]
              Sets proxy server to use for HTTP.

       HTTPS_PROXY [protocol://]<host>[:port]
              Sets proxy server to use for HTTPS.

ansonsten... faellt mir nicht viel ein ausser an s_client selbst hand
anlegen, wobei s_client(1):
BUGS
       ... the C source of s_client is rather hard to read and not a
model of how things should be done.

Na toll...


> Der Proxy unterstützt natürlich die Methode CONNECT.
> 
> Danke
>   Thomas
Gruss
	Jan

-- 
In a perfect world, spammers would get caught, go to jail, and share a
cell with many men who have enlarged their penisses, taken Viagra and
are looking for a new relationship.



More information about the Linux mailing list