$ yum install certbot $ certbot certonly Saving debug log to /var/log/letsencrypt/letsencrypt.log How would you like to authenticate with the ACME CA? //你是希望如何使用ACME CA进行身份验证? ------------------------------------------------------------------------------- 1: Place files in webroot directory (webroot) //将文件放在webroot目录 2: Spin up a temporary webserver (standalone) //使用临时Web服务器(独立目录) ------------------------------------------------------------------------------- Select the appropriate number [1-2] then [enter] (press 'c' to cancel):1 【选择1回车】 Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel):su@renwole.com【输入您的邮箱地址,用于紧急更新和安全通知】 Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org ------------------------------------------------------------------------------- Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf. You must agree in order to register with the ACME server at https://acme-v01.api.letsencrypt.org/directory ------------------------------------------------------------------------------- (A)gree/(C)ancel: A【选择A回车同意服务条款,C为拒绝】 ------------------------------------------------------------------------------- Would you be willing to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about EFF and our work to encrypt the web, protect its users and defend digital rights. ------------------------------------------------------------------------------- (Y)es/(N)o:Y【您是否愿意分享您的电子邮件地址,建议选择Y回车】 Please enter in your domain name(s) (comma and/or space separated) (Enter 'c' to cancel): blog.renwole.com【输入域名回车】 Obtaining a new certificate Performing the following challenges: http-01 challenge for blog.renwole.com Select the webroot for blog.renwole.com: ------------------------------------------------------------------------------- 1: Enter a new webroot //输入网站绝对路径 ------------------------------------------------------------------------------- Press 1 [enter] to confirm the selection (press 'c' to cancel):1【选择数字1回车】 Input the webroot for blog.renwole.com: (Enter 'c' to cancel):/home/www/blog.renwole.com【输入网站所在绝对路径回车】 Waiting for verification... Waiting for verification... Cleaning up challenges Generating key (2048 bits): /etc/letsencrypt/keys/0001_key-certbot.pem Creating CSR: /etc/letsencrypt/csr/0001_csr-certbot.pem IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/blog.renwole.com/fullchain.pem. Your cert will expire on 2017-08-09. To obtain a new or tweaked version of this certificate in the future, simply run certbot again. To non-interactively renew *all* of your certificates, run "certbot renew" - If you like Certbot, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: