以前我们在服务器上部署了基于“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>
。 以前我得到了主题备用未找到异常,然后我用SAN重新配置了证书,异常消失了。 请检查this。但现在我得到以下异常: javax.xml.ws.soap.SOAPFaultException:SOAP-ERROR:解析WSDL:找不到'/var/www-ssl/ingram/wsdls/deviceprofileInfoAnother.wsdl'
我没有得到我错的地方。是服务器端问题还是证书问题。 请帮我解决这个问题。
答案 0 :(得分:0)
由我自己解决。 * .wsdl文件包含错误的代码。现在工作正常..