centos 下安装 Let’s Encrypt 永久免费 SSL 证书

功能

  1. https证书,免费版,每三个月续签一次,可以用过脚本自动续签

安装

  1. ssh登录到域名配置所在的主机(nginx,apache等)
  2. 安装git yum -y install git
  3. 输入 git clone https://github.com/letsencrypt/letsencrypt
  4. cd letsencrypt
  5. chmod x letsencrypt-auto
  6. 安装证书:
    • ./letsencrypt-auto certonly --email [email protected] -d jenkins.jetbrains.org.cn
    • d参数后面对应的是域名,在执行的过程中,我遭遇了下面的报错:
      `Total size: 44 M
      Downloading Packages:
      Running rpmcheckdebug
      ERROR with rpmcheckdebug vs depsolve:
      libgdbm.so.2()(64bit) is needed by python-libs-2.6.6-66.el68.x8664
      ** Found 7 pre-existing rpmdb problem(s), 'yum check' output follows:
      4:perl-5.10.1-141.el67.1.x8664 has missing requires of libgdbm.so.2()(64bit)
      4:perl-devel-5.10.1-141.el67.1.x8664 has missing r

你可能感兴趣的:(java,spring,boot,spring,cloud,jenkins,k8s,docker)