zoukankan      html  css  js  c++  java
  • 关闭 gitlab中的 letsencrypt

    执行gitlab-ctl reconfigure,一直报letsencrypt相关的错误

    Recipe: letsencrypt::enable
      * ruby_block[http external-url] action run (skipped due to only_if)
      * directory[/srv/gitlab_ssl] action create (up to date)
      * acme_selfsigned[support.rt-thread.com] action create
        * file[support.rt-thread.com SSL selfsigned key] action create_if_missing (up to date)
        * file[support.rt-thread.com SSL selfsigned crt] action create_if_missing (up to date)
        * file[support.rt-thread.com SSL selfsigned chain] action create_if_missing (skipped due to not_if)
         (up to date)
    Recipe: letsencrypt::http_authorization
      * letsencrypt_certificate[support.rt-thread.com] action create
        * acme_certificate[staging] action create
          * file[support.rt-thread.com SSL key] action create_if_missing (up to date)
    

    但我没开letsencrypt功能啊,搜了一下发现默认是打开的,手动关闭就行了。

    letsencrypt['enable'] = false
    

    因为我用外部证书,如果需要使用letsencrypt自动申请证书,则需要配置好nginx的目录,让letsencrypt完成验证。

    参考链接:
    https://stackoverflow.com/questions/59069753/turn-off-lets-encrypt
    https://www.manongdao.com/article-1708173.html

  • 相关阅读:
    一句sql语句删除重复记录
    Remoting测试
    关于委托
    遍历打印文件夹中的word文档
    c# string类型的一个理解误区
    viewstate
    依赖注入与工厂模式Demo
    memcache配置实践
    201732 C#链接数据库实现登陆
    观察者设计模式[伪]
  • 原文地址:https://www.cnblogs.com/aozima/p/13798624.html
Copyright © 2011-2022 走看看