gpt4 book ai didi

linux - 从 http 移动到 https : javax. xml.ws.soap.SOAPFaultException

转载 作者:太空宇宙 更新时间:2023-11-03 15:00:34 26 4
gpt4 key购买 nike

以前我们在服务器上部署了基于“http”的网络服务,但现在我们正试图让它成为 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-错误:解析 WSDL:无法在“/var/www-ssl/ingram/wsdls/deviceprofileInfoAnother.wsdl”中找到

我没有弄错我要去的地方。是服务器端问题还是证书问题。请帮我解决这个问题。

最佳答案

自行解决。 *.wsdl 文件包含错误代码。现在工作正常..

关于linux - 从 http 移动到 https : javax. xml.ws.soap.SOAPFaultException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22656151/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com