下午好在我的域名上有一个安装了Ghost CMS的网站example.com。我创建了一个子域名sub.example.com,并将Ghost也放在那里。所有内容都已安装,但网站本身不起作用。请写入以下内容:
Connection is not secured
Attackers may try to steal your data from the site sub.example.com (for example, passwords, messages, or bank card numbers). Read more...
NET::ERR_CERT_COMMON_NAME_INVALID
To make the Chrome browser as secure as possible, turn on the "Enhanced Protection" mode.
On the website sub.example.com encryption is usually used to protect your data. However sub.example.com now, they are different from the ones he usually sends. Probably a malicious site is trying to impersonate sub.example.com or the Wi-Fi connection page has interrupted the connection. Your information is still safe because Chrome broke the connection before the data exchange took place.
Website sub.example.com uses the HSTS mechanism. It is currently not possible to open the site. The failure could have been caused by a network error or the actions of intruders. Most likely, the site will work after a while.
问题可能是在子域上安装SSL证书。安装SSL证书时,控制台中会出现一个错误。
1) ProcessError
Message: Command failed: /bin/sh -c sudo -S -p '#node-sudo-passwd#' /etc/letsencrypt/acme.sh --issue --home /etc/letsencrypt --domain sub.example.com --webroot /var/www/sub.example.com/system/nginx-root --reloadcmd "nginx -s reload" --accountemail email@gmail.com
#node-sudo-passwd#[Wed 13 Oct 2021 06:51:20 PM MSK] Can not init api, for https://acme.zerossl.com/v2/DV90
可能是什么问题?也许问题出在Nginx?