gitlab 关闭Lets Encrypt证书续签

编辑 /etc/gitlab/gitlab.rb

js 复制代码
 # letsencrypt['enable'] = nil
并更改
letsencrypt['enable'] = false

重新加载配置 重启gitlab生效

js 复制代码
gitlab-ctl reconfigure
配置成自己的证书
js 复制代码
external_url 'http://gitlab.example.com'

开启以下3向即可
nginx['redirect_http_to_https'] = true
nginx['ssl_certificate'] = "/etc/gitlab/exchangs.top.pem"
nginx['ssl_certificate_key'] = "/etc/gitlab/exchangs.top.key"

重新配置 && 重启GitLab

js 复制代码
 gitlab-ctl reconfigure
 gitlab-ctl restart
相关推荐
yunson_Liu12 小时前
jenkins更新了gitlab后出现报错
运维·gitlab·jenkins
stark张宇16 小时前
Git 与 GitHub 协同工作流:从0到1搭建版本控制体系
git·gitlab·github
牛马的人生6 天前
GitLab入门教程:打开DevOps全流程的大门
运维·其他·gitlab·devops
水冗水孚6 天前
Ubuntu服务器上使用docker-compose部署 gitlab(图文并茂记录)
gitlab
<花开花落>8 天前
gitlab-runner 再次实践中理解和学习
gitlab
Vahala0623-孔勇9 天前
CI/CD流水线优化:GitLab CI镜像构建加速实战
ci/cd·gitlab
Lin_Aries_04219 天前
部署 GitLab 服务器
linux·运维·服务器·docker·gitlab·github
FreeBuf_10 天前
GitLab高危漏洞可致实例崩溃(CVE-2025-10858 和 CVE-2025-8014)
gitlab
恒雨田10 天前
Jenkins安装并与GitLab集成,实现dev、qa、uat、prod多分支持续集成的详细步骤
ci/cd·gitlab·jenkins
꧁༺摩༒西༻꧂10 天前
Windows Server 2022离线搭建Gitlab
gitlab