这是一个很长的机会,但不知道是否还有其他人遇到类似的问题。
我正试图在Laravel上建立一个新的网站,使用DigitalOcean作为我的提供商。我已经设置了服务器实例并安装了应用程序,但是当我试图导航到站点时,我会得到一个SSL_ERROR_UNRECOGNIZED_NAME_ALERT错误。
DNS由CloudFlare (代理)提供,A记录解析正确。我进入我的Forge仪表板,从LetsEncrypt请求一个新的SSL,但是这失败了,下面的错误输出。
2022-12-03 00:00:35 URL:https://forge-certificates.laravel.com/le/1617562/1825058/ecdsa?env=production [4557] -> "letsencrypt_script1670025635" [1]
Cloning into 'letsencrypt1670025635'...
Note: switching to '91cccc0c234e4decf0a19595fa19a6f306788032'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 91cccc0 ensure newline before new section in openssl.cnf
+ ERROR: An error occurred while sending post-request to https://acme-v02.api.letsencrypt.org/acme/new-order (Status 400)
Details:
HTTP/2 400
server: nginx
date: Sat, 03 Dec 2022 00:00:39 GMT
content-type: application/problem+json
content-length: 173
cache-control: public, max-age=0, no-cache
link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
replay-nonce: 5CA2cs4FJk70Onq0iakIYvXisgUnrGMELGxh0lXsKjFUAWU
{
"type": "urn:ietf:params:acme:error:accountDoesNotExist",
"detail": "Account \"https://acme-v02.api.letsencrypt.org/acme/acct/853465757\" not found",
"status": 400
}我环顾了一下,也看到了类似的问题,但建议的解决方案似乎都不相关(或者他们尝试后没有解决问题)。如有任何建议,敬请见谅。提前感谢!
发布于 2022-12-03 00:09:43
看起来问题就在SSL证书上。您可能需要从LetsEncrypt生成一个新证书,并在Forge仪表板中对其进行配置。如果问题仍然存在,则可能值得检查DNS设置,以确保A记录指向正确的服务器IP地址。您还可能需要检查Forge配置,以确保域名配置正确。
https://stackoverflow.com/questions/74662824
复制相似问题