lets encrypt 泛域名證書申請,使用acme,結合阿裏雲域名管理
阿新 • • 發佈:2019-02-02
ole git ret title secret -- nal 文件 ins
第一步:下載acme.sh,以下四種方式都可
curl https://get.acme.sh | sh
wget -O - https://get.acme.sh | sh
curl https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
wget -O - https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh | INSTALLONLINE=1 sh
第二步:申請阿裏雲雲解析API
申請地址:https://ak-console.aliyun.com/#/accesskey
申請完成註意復制Access Key ID、Access Key Secret
將ID和Secret修改到dns_ali.sh文件裏
第三步:快速簽發泛域名SSL證書
cd /root/.acme.sh
./acme.sh --issue -d ontato.com -d *.ontato.com --dns dns_ali
簽發完成後會提示證書所在路徑
第四步:nginx配置時證書路徑使用以上簽發後路徑(此處不詳述)
lets encrypt 泛域名證書申請,使用acme,結合阿裏雲域名管理