运行 gitlab-ctl reconfigure
命令时出现下面的 letsencrypt 证书错误:
letsencrypt_certificate[x.x.x] (letsencrypt::http_authorization line 3) had an error: Acme::Client::Error::Unauthorized: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 20) had an error: Acme::Client::Error::Unauthorized: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.
实际并没有使用 letsencrypt 证书,请问如何解决?
在 /etc/gitlab/gitlab.rb
中添加 letsencrypt['enable'] = false
可解决。