与ssl的Apache反向代理不工作

我试图使用Apache(2.4)作为反向代理的Tomcat(7),这工作正常,当我只使用http。

httpconfiguration:

<VirtualHost *:80> ServerName abc.domain.org ProxyRequests Off ProxyPreserveHost On <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ </VirtualHost> 

这工作完全正常。

但是当我想要Apache处理https时,它根本就不工作。 我尝试了很多东西,但是最后只能看到一个“index of /”的平面页面,

httpsconfiguration:

 <VirtualHost *:443> ServerName abc.domain.org SSLEngine On SSLCertificateFile path SSLCertificateKeyFile path SSLCertificateChainFile path ProxyRequests Off ProxyPreserveHost On <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ </VirtualHost> 

任何帮助或暗示将不胜感激。

编辑:如果你需要更多的信息,随时问。

EDIT2:

apachectl的输出-s:

 VirtualHost configuration: *:80 abc.domain.org (/etc/httpd/conf.d/proxy.conf:1) *:443 is a NameVirtualHost default server abc.domain.org (/etc/httpd/conf.d/ssl.conf:56) port 443 namevhost abc.domain.org (/etc/httpd/conf.d/ssl.conf:56) port 443 namevhost abc.domain.org (/etc/httpd/conf.d/proxy.conf:24) ServerRoot: "/etc/httpd" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/etc/httpd/logs/error_log" Mutex proxy-balancer-shm: using_defaults Mutex rewrite-map: using_defaults Mutex authdigest-client: using_defaults Mutex ssl-stapling: using_defaults Mutex proxy: using_defaults Mutex authn-socache: using_defaults Mutex ssl-cache: using_defaults Mutex default: dir="/run/httpd/" mechanism=default Mutex mpm-accept: using_defaults Mutex authdigest-opaque: using_defaults PidFile: "/run/httpd/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="apache" id=48 Group: name="apache" id=48 

在那里,你有两个具有相同ServerName SSL虚拟主机。 这意味着只有第一个会获得SSL请求。

看起来像在/etc/httpd/conf.d/ssl.conf中可以删除的某种forms的默认虚拟主机。