Hi Lukas,
 I changed:
server one 10.0.0.1:8550
by
server one 10.0.0.1:8550 ssl verify none
but error persist.

I check service with:
curl --insecure -E test.pem https://10.0.0.1:8550/serviceA/myapp?wsdl //
Work Ok
curl --insecure www.example.com/service1/myapp?wsdl // Fail
curl --insecure -E test.pem www.example.com/service1/myapp?wsdl // Fail

In haproxy how repalce the SSLProxyMachineCertificateFile?

Regards,
Nico. 
 
-------Mensaje original-------
 
De: Lukas Tribus
Fecha: 10/27/14 15:27:54
Para: npel...@unr.edu.ar;  haproxy@formilux.org
Asunto: RE: Haproxy Fontend:80 Backend:443
 
Hi,
 
 
> backend test_a
>        option httpchk
>        http-request set-header Host 10.0.0.1
>        reqrep ^([^\ ]*)\ /service1(.*) \1\ /serviceA\2
>        rspirep ^(Location:)\ https://([^/]*)/(.*)$    \1\
> http://\2/service1/\3
>        server one 10.0.0.1:8550
>
> The problem: The site displays "Bad Gateway"
 
Well, you need to tell HAProxy that your backend server
is ssl-enabled, otherwise it will connect via HTTP and it
will fail.
 
backend test_a
  [...]
  server one 10.0.0.1:8850 ssl
 
 
 
Regards.
 
Lukas
 
 

Reply via email to