【发布时间】:2022-01-08 15:00:22
【问题描述】:
我正在尝试设置一个自托管的 GitLab 实例,一切正常,除非我尝试使用 Let's encrypt 创建 https 连接。尝试重新配置 GitLab 实例时出现以下错误:
There was an error running gitlab-ctl reconfigure:
letsencrypt_certificate[gitlab.***.org] (letsencrypt::http_authorization line 6) had an error: Acme::Client::Error::AccountDoesNotExist: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 41) had an error: Acme::Client::Error::AccountDoesNotExist: No account exists with the provided key
我的 external_url=https://gitlab.***.org,在我的网络上,我为端口:80 和:443 设置了端口转发。我还将 DNS 设置为我的 IP,因为该站点在不受保护时是可访问的。
希望有人能认出这个错误,我看了一遍并没有看到它在任何地方弹出。
最好的问候
【问题讨论】:
标签: ssl gitlab lets-encrypt