$ ./letsencrypt-auto certonly --nginx -d haoyizebo.com -d www.haoyizebo.com Updating letsencrypt and virtual environment dependencies....... Running with virtualenv: /root/.local/share/letsencrypt/bin/letsencrypt certonly --nginx -d haoyizebo.com -d www.haoyizebo.com The requested nginx plugin does not appear to be installed
At least one of the (possibly) required ports is already taken.
IMPORTANT NOTES: - If you lose your account credentials, you can recover through e-mails sent to your@email.com. - Your account credentials have been saved in your Let's Encrypt configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Let's Encrypt so making regular backups of this folder is ideal.
Failed authorization procedure. www.haoyizebo.com (http-01): urn:acme:error:connection :: The server could not connect to the client for DV :: DNS query timed out
IMPORTANT NOTES: - The following 'urn:acme:error:connection' errors were reported by the server:
Domains: www.haoyizebo.com Error: The server could not connect to the client for DV
我目前已切换至万网,等待 DNS 解析生效 ing…
一个小时过去了,再试
1 2 3 4 5 6 7 8 9
IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/haoyizebo.com/fullchain.pem. Your cert will expire on 2016-03-07. To obtain a new version of the certificate in the future, simply run Let's Encrypt again. - If like Let's Encrypt, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
看到这个就说明证书已经签发成功了。
Let’s Encrypt 将认证的信息保存于/etc/letsencrypt目录
1 2 3 4 5 6
$ ll /etc/letsencrypt/live/haoyizebo.com/ total 0 lrwxrwxrwx 1 root root 36 Dec 8 19:41 cert.pem -> ../../archive/haoyizebo.com/cert1.pem lrwxrwxrwx 1 root root 37 Dec 8 19:41 chain.pem -> ../../archive/haoyizebo.com/chain1.pem lrwxrwxrwx 1 root root 41 Dec 8 19:41 fullchain.pem -> ../../archive/haoyizebo.com/fullchain1.pem lrwxrwxrwx 1 root root 39 Dec 8 19:41 privkey.pem -> ../../archive/haoyizebo.com/privkey1.pem