0
以前我們在服務器上部署了基於「http」的web服務,但現在我們正在試圖使其成爲https。所以爲此,我已經在linux機器上將我的項目從/ var/www /轉移到了/ var/www-ssl。我們使用https的自簽名證書。我已經配置了apache的ports.conf文件,如下所示:從http遷移到https:javax.xml.ws.soap.SOAPFaultException
# 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'
我不明白我出錯的地方。是服務器端問題還是證書問題? 請幫我解決這個問題。