在Google Cloud Platform上安装SSL证书后获取ERR_CERT_AUTHORITY_INVALID

问题描述 投票:0回答:1

我按照本教程:https://www.onepagezen.com/free-ssl-certificate-wordpress-google-cloud-bitnami/在Google Cloud Platform上为我的网站实施SSL证书。现在,我打开它,我正在获得ERR_CERT_AUTHORITY_INVALID,我已经做好了一切。

我所有的证书.pem文件都在我网站的文件夹(madnumber.org)中,而不是我确保的example.com中。

我的配置文件是:/opt/bitnami/apache2/conf/bitnami/bitnami.conf

这是代码:

# Default Virtual Host configuration.
<IfVersion < 2.3 >
  NameVirtualHost *:80
  NameVirtualHost *:443
</IfVersion>
<VirtualHost _default_:80>
  DocumentRoot "/opt/bitnami/apache2/htdocs"
  ServerName www.madnumber.org
  ServerAlias madnumber.org
  Redirect permanent / https://www.madnumber.org/
  <Directory "/opt/bitnami/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride All
    <IfVersion < 2.3 >
      Order allow,deny
      Allow from all
    </IfVersion>
    <IfVersion >= 2.3 >
      Require all granted
    </IfVersion>
  </Directory>
  # Error Documents
  ErrorDocument 503 /503.html
  # Bitnami applications installed with a prefix URL (default)
  Include "/opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf"
</VirtualHost>

更新:遵循新的教程https://techmonger.github.io/46/free-ssl-google-cloud/但它给了我这个错误:

域名:madnumber.org类型:未授权详细信息:来自的响应无效 http://madnumber.org/.well-known/acme-challenge/1OlqUItVV8q_MTc-vkFp53nifCBtcVNftFDyRmdxKYY [00.00.00.0000]:“\ n lang = \”en-US \“> \ n \ n \ t \ n \ t name = \”viewport \“content = \”width = device-width,initial“To修复这些错误,请确保您的域名输入正确,并且该域的DNS A / AAAA记录包含正确的IP地址。

ssl google-cloud-platform bitnami
1个回答
1
投票

由于以下任何一个原因,您将面临此错误:

  1. 颁发的证书已经过期
  2. 浏览器很旧
  3. 网站证书和浏览器连接不安全

你也可以参考这个resource

© www.soinside.com 2019 - 2024. All rights reserved.