从HTTP到HTTPS的代理传递失败,网关错误“502”

时间:2018-01-24 12:27:56

标签: apache tomcat ssl httpserver bad-gateway

我正在尝试将HTTP从Oracle HTTP(OHS)传递到外部,通过非ssl工作,但是SSL有点挑战“OHS ---非SSL --->外部系统(ssl)”,并通过SSL我看到“”错误需要一些关于此。

哦日志中出现的错误:

[] [OHS] [ERROR:32] [] [core.c] [host_id: xxxxxxxxx.xxxx.xxxx] [host_addr: aa.aa.a.aaa] [tid: ] [user: oracle] [ecid:] [rid: 0] [VirtualHost: zzzzzzzzz:bbbb]  NZ Library Error: SSL fatal alert

[] [OHS] [ERROR:32] [] [core.c] [host_id: xxxxxxxxx.xxxx.xxxx] [host_addr: aa.aa.a.aaa] [tid: ] [user: oracle] [ecid: ] [rid: 0] [VirtualHost: zzzzzzzzz:bbbb] (20014)Internal error:  : pass  body failed to xx.xx.x.xxx:cccc (dddddddddddd.ddd.dddd)

[] [OHS] [ERROR:32] [] [core.c] [host_id: xxxxxxxxx.xxxx.xxxx] [host_addr: aa.aa.a.aaa] [tid: ] [user: oracle] [ecid: ] [rid: 0] [VirtualHost: zzzzzzzzz:bbbb]  : pass  body failed to xx.xx.x.xxx:cccc (dddddddddddd.ddd.dddd) from yy.yy.yy.yyy ()

中使用的传球
 <IfModule mod_proxy.c> 
  SSLProxyEngine On 
  SSLPROXYWALLET "/zzz/zzzzzz/zzzzzzzzWallet" 
  ProxyPass / https://###.###.#####.######:XXXX/sss/aaa.sddd.sss.dddd/XXXX
  ProxyPassReverse / https://###.###.#####.######:XXXX/sss/aaa.sddd.sss.dddd/XXXX
  ProxyPreserveHost On 
  ProxyRequests off 
  </IfModule>

1 个答案:

答案 0 :(得分:0)

我认为端口443在防火墙级别被阻止..请使用netstat命令检查端口是否打开。