无法通过 PuTTY 创建 ca 证书 Lets Encrypt

无法通过 PuTTY 创建 ca 证书 Lets Encrypt

如上所述,我在为子域生成 Lets Encrypt 证书时出错。使用 Chrome 尝试了 www,http://www.子域名www.subdomain。这是我收到的错误

fzcpnl49094m6oe7p2@a04pm945 [~]$ acme.sh   **--issue -d subdomain.domain.com -d subdomain.domain.com  -w /home/fzcpnpm945/public_html**
       subdomain.domain.com:Verify error:IPADRESS: Invalid response from http://subdomain.domain.com/.well-known/acme -challenge/rsv-gC-4XNqhH3QE7zd-JCox6A4CYVRRgVgYU3Jeaqs: 404
  Error Loading request extension section v3_req
 139755839661896:error:220A4076:X509 V3 routines:A2I_GENERAL_NAME:bad ip address: v3_alt.c:484:value=http://www.subdomain.domain.com
 139755839661896:error:22098080:X509 V3 routines:X509V3_EXT_nconf:error in extens ion:v3_conf.c:93:name=subjectAltName, value=IP:http://www.subdomain.domain .com,IP:http://www.subdomain.domain.com
  Create CSR error.
 Pending, The CA is processing your order, please  just wait. (1/30)
 www.subdomain.domain.com:Verify error:DNS p roblem: NXDOMAIN looking up A for www.subdomain.domain.com - check that a  DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www .subdomain.domain.com - check that a DNS record exists for this domain
 Multi domain='DNS:www.subdomain.domain.com/ ,DNS:www.subdomain.domain.com/'
  Getting domain auth token for each domain
  Create new order error. Le_OrderFinalize not foun d. {
   "type": "urn:ietf:params:acme:error:rejectedIdentifier",
   "detail": "Error creating new order :: Cannot issue for \"www.subdomain.domain.com/\": Domain name contains an invalid character",
   "status": 400
 }
  

答案1

已解决。您需要提及包括子域文件夹在内的目录的完整路径

相关内容