gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-03 13:59:27 24 4
gpt4 key购买 nike

我遵循了本教程: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/但它给了我这个错误:

Domain: madnumber.org Type: unauthorized Detail: Invalid response from
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 fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.

最佳答案

您遇到此错误是由于以下三个原因中的任何一个:

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

你也可以引用这个resource .

关于ssl - 在 Google Cloud Platform 上安装 SSL 证书后获取 ERR_CERT_AUTHORITY_INVALID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55435186/

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