dns 需要在你的域名DNS配置中添加一条TXT记录,包含由Let’s Encrypt提供的特定值。ACME服务器将检查这条TXT记录以验证域名的所有权。
填写相关选项
请求你的电子邮件地址,以便用于接收关于证书续订的重要通知和安全警告。
1 2 3
Saving debug log to /var/log/letsencrypt/letsencrypt.log Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel):
要求你阅读并同意 Let’s Encrypt 的服务条款(Terms of Service)。
1 2 3
Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf. You must agree in order to register with the ACME server. Do you agree?
Would you be willing, once your first certificate is successfully issued, 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 our work encrypting the web, EFF news, campaigns, and ways to support digital freedom.
询问你希望通过哪种方式验证你对域名的控制权。How would you like to authenticate with the ACME CA?
Spin up a temporary webserver (standalone)
临时启动一个独立的 Web 服务器来响应 ACME 挑战。Certbot 会在你的机器上运行一个短期的 Web 服务器,并通过 HTTP 请求来完成挑战。这种方式适合于你的主 Web 服务器暂时不可用或者你不想修改现有 Web 服务器配置的情况。
Before continuing, verify the TXT record has been deployed. Depending on the DNS provider, this may take some time, from a few seconds to multiple minutes. You can check if it has finished deploying with aid of online tools, such as the Google Admin Toolbox: https://toolbox.googleapps.com/apps/dig/#TXT/_acme-challenge.exwckv.top. Look for one or more bolded line(s) below the line ';ANSWER'. It should show the value(s) you've just added.
[ req_distinguished_name ] C = CN # 国家代码,如中国为CN ST = Zhejiang # 省/直辖市 L = Wenzhou # 城市 O = Person # 组织名 OU = Person # 组织单位 CN = 114.55.144.224 # 公共名称,这里可以是IP地址或域名