Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSL证书过期| Plesk中出现错误_Ssl_Openssl_Ssl Certificate_Web Hosting_Plesk - Fatal编程技术网

SSL证书过期| Plesk中出现错误

SSL证书过期| Plesk中出现错误,ssl,openssl,ssl-certificate,web-hosting,plesk,Ssl,Openssl,Ssl Certificate,Web Hosting,Plesk,客户试图通过命令行连接到abc.xyz.com 通过使用内部IP从命令行发出请求,尝试连接到abc.xyz.com服务器(因为之前提出的关于使用域名访问的问题仍然不起作用,我们正在使用内部IP进行请求)。直到昨天,使用类似SSL的方式,这仍然可以正常工作 wget https://0.0.0.0(IP)/en/report/json/2017/home 但现在它给出了下面的错误 [root@Server ~]# wget https://0.0.0.0/IP/en/report/json/20

客户试图通过命令行连接到abc.xyz.com

通过使用内部IP从命令行发出请求,尝试连接到abc.xyz.com服务器(因为之前提出的关于使用域名访问的问题仍然不起作用,我们正在使用内部IP进行请求)。直到昨天,使用类似SSL的方式,这仍然可以正常工作

wget https://0.0.0.0(IP)/en/report/json/2017/home
但现在它给出了下面的错误

[root@Server ~]# wget https://0.0.0.0/IP/en/report/json/2017/home
--2018-05-13 13:06:42--  https://0.0.0.0/IP/en/report/json/2017/home Connecting to 0.0.0.0/IP:443... connected.
ERROR: cannot verify 0.0.0.0/IP's certificate, issued by ‘/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2’: Issued certificate has expired.
ERROR: certificate common name **‘*.xyz.com’** doesn't match requested host name ‘0.0.0.0/IP’. To connect to 0.0.0.0/IP insecurely, use `--no-check-certificate'.
现在,需要注意的是颁发给“*.xyz.com”的证书位于负载平衡器上

本地服务器(通过命令行)无法将请求发送到负载平衡器。 这意味着它将在本地检查它,并将过期或未处理到主机的证书选通

域名abc.xyz.com无法通过IP解析,因此客户必须使用该域名


所以我建议客户通过用户站长将他们的SSL证书上传到Plesk web portal,以解决此SSL证书错误,并使用域名而不是IP,你们建议如何?

嗯,是的。将证书上传到Plesk并通过域名访问网站肯定会解决此错误

解决此错误的另一种逻辑方法是跳过证书检查:

# wget --no-check-certificate https://0.0.0.0(IP)/en/report/json/2017/home

由于客户端和a网站位于同一台服务器上,因此无需担心数据拦截(而IP地址的默认网站没有更改)。

起初我只是尝试了一下,但你知道。。。