服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

对于某些用户的https不可信的错误

几天前,一些用户报告说,他们在客户的网站上发现错误,说“证书不可信,因为它是自签名的”,并且继续说:“证书只对asimov.sensoryworld有效.COM”。 只有当通过https://sensoryworld.com访问网站时,或者当他们到达使用SSL的结账页面(如果他们只是在http:上浏览),才会发生这种情况。 为了澄清,asimov是主机名,而不是该网站所在的子域。 我使用https://www.sslchecker.com/sslchecker检查了SSL安装,它说证书提供商是GoDaddy.com,Inc.我联系了GoDaddy,他们说所有的设置都正确。 只要确定我重新安装了证书并再次对其设置权限,然后重新启动服务器。 这个错误不会发生在每个人身上。 我能够访问该网站的所有部分,以及GoDaddy和主持人Linode的代表。 然而,对于足够的人来说,我知道这不仅仅是用户端的错误。 一位顾客说,他们可以通过百思买的笔记本电脑上的https访问网站,但是当他们回到家时,错误又开始出现了。 以下是/etc/apache2/sites-enabled/sensoryworld.com.conf中我的VirtualHosts文件的内容: # domain: sensoryworld.com # public: /var/www/sensoryworld.com/public_html/ <VirtualHost *:80> # Admin email, Server Name (domain name), and any aliases ServerAdmin [email protected] ServerName www.sensoryworld.com ServerAlias sensoryworld.com # Index file and Document Root (where the public files are located) DirectoryIndex index.html index.php DocumentRoot /var/www/sensoryworld.com/public_html # Log file locations […]