【发布时间】:2014-03-26 09:12:12
【问题描述】:
以前我们在服务器上部署了基于“http”的 web 服务,但现在我们正在尝试使其成为 https。因此,为此我已将我的项目从 /var/www/ 转移到 linux 机器上的 /var/www-ssl。我们正在为 https 使用自签名证书。我已经配置了 apache 的 ports.conf 文件如下
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost 0.0.0.0:8091
Listen 8091
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 8088
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
</IfModule>
<VirtualHost 172.16.1.104:8088>
DocumentRoot /var/www-ssl
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
</VirtualHost>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
。 以前我得到了 Subject Alternate Not Found 异常,然后我用 SAN 重新配置了证书并且异常消失了。 请查看this。但现在我得到以下异常: javax.xml.ws.soap.SOAPFaultException:SOAP-ERROR:解析 WSDL:在“/var/www-ssl/ingram/wsdls/deviceprofileInfoAnother.wsdl”中找不到
我没有找到错误的地方。是服务器端问题还是证书问题。 请帮我解决这个问题。
【问题讨论】:
标签: linux apache ssl https ssl-certificate