wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto
./certbot-auto certonly -d *.你的域名 --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
------------------------------------------------------------------------------- Please deploy a DNS TXT record under the name _acme-challenge.xxx.cn with the following value: 2_8KBE_jXH8nYZ2unEViIbW52LhIqxkg6i9mcwsRvhQ Before continuing, verify the record is deployed. ------------------------------------------------------------------------------- Press Enter to Continue Waiting for verification... Cleaning up challenges
$ dig -t txt _acme-challenge.xxx.cn @8.8.8.8 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;_acme-challenge.xxx.cn. IN TXT ;; ANSWER SECTION: _acme-challenge.xxx.cn. 599 IN TXT "2_8KBE_jXH8nYZ2unEViIbW52LhIqxkg6i9mcwsRvhQ"
$ tree /etc/letsencrypt/archive/xxx.cn . ├── cert1.pem ├── chain1.pem ├── fullchain1.pem └── privkey1.pem
阅读:361
评论:0
゛. - 看過世间最冷漠滴眼神, 爱過⒈生最无缘滴人﹎
该页面还没有任何评论,赶快占个沙发吧!