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

  • 相关阅读:
    Python学习
    shell 脚本收藏
    无限级分类接口
    php 过滤多维数组中值为空的字段
    逆波兰表达式3(后缀表达式求值)
    [数据结构]之队列
    最大公约数和最小公倍数
    暗时间阅读笔记
    android判断文件是否是图片文件的方法
    android从assets读取文件的方法
  • 原文地址:https://www.cnblogs.com/aozima/p/13798624.html
Copyright © 2011-2022 走看看