Let's Encrypt free certificate request

1, the deployment of the client
  to download: wget https://get.acme.sh
    default download out of the file name is index.html, you can rename can also be run directly.
       index.html bash
2, DNSPod get token
      after token get set environment variables in the department.
      DP_ID = Export "8 ****"
     Export DP_Key = "fdea5 **** XXXX"
3, requesting the issuance of a certificate:
    acme.sh --issue - DNS dns_dp -d --debug * .xx123.cn

    --dns specify the domain name service provider, dp is DNSPOD, other service providers DNS can ask of your mother.
    -d domain required to issue certificates of
    --debug view the issue of log

4, the issue of Success:
    see the following information issued successfully, save the certificate path.
        Mar 14 17:56:06 CST 2019 Thu] Your CERT IS in /root/.acme.sh/*.xx123.cn/*.xx123.cn.cer
        [Thu Mar 14 17:56:06 CST 2019] Your CERT IS in /root/.acme.sh/*.xx123.cn/*.xx123.cn.key Key
        [Thu-Mar 14 17:56:06 CST 2019] V2 catena alberghiera.
        [CST Thu-Mar 14 17:56:06 2019 ] Intermediate of The CERT IS in the CA /root/.acme.sh/*.xx123.cn/ca.cer
        [Thu-Mar 14 17:56:06 CST 2019] The Full And there catena alberghiera certs IS: /root/.acme. SH / *. xx123.cn/fullchain.cer
. 5, automatically updates
    acme.sh --renew-all --force --reloadcmd "/ usr / local / nginx / sbin / nginx -s reload"

Guess you like

Origin blog.csdn.net/qq_42409788/article/details/88575168