Hi,
I have an issue when trying to renew a certificate for a subdomain.
The subdomain is proxmox2.codingfield.com. The DNS is configured with a A field pointing to the IPV4 of the server, and a AAAA field pointing to the IPV6 of the server.
I run the following command:
# "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"
[Sun 29 Oct 18:03:08 UTC 2017] ===Starting cron===
[Sun 29 Oct 18:03:08 UTC 2017] Renew: 'proxmox2.codingfield.com'
[Sun 29 Oct 18:03:08 UTC 2017] Standalone mode.
[Sun 29 Oct 18:03:08 UTC 2017] Single domain='proxmox2.codingfield.com'
[Sun 29 Oct 18:03:08 UTC 2017] Getting domain auth token for each domain
[Sun 29 Oct 18:03:08 UTC 2017] Getting webroot for domain='proxmox2.codingfield.com'
[Sun 29 Oct 18:03:08 UTC 2017] Getting new-authz for domain='proxmox2.codingfield.com'
[Sun 29 Oct 18:03:09 UTC 2017] The new-authz request is ok.
[Sun 29 Oct 18:03:09 UTC 2017] Verifying:proxmox2.codingfield.com
[Sun 29 Oct 18:03:09 UTC 2017] Standalone mode server
[Sun 29 Oct 18:03:13 UTC 2017] proxmox2.codingfield.com:Verify error:Fetching http://proxmox2.codingfield.com/.well-known/acme-challenge/jDNaKfIhr55Q3sIVqceHIjSoqvlH5mp_63OPaO1cONs: Connection refused
[Sun 29 Oct 18:03:13 UTC 2017] Please check log file for more details: /root/.acme.sh/acme.sh.log
[Sun 29 Oct 18:03:13 UTC 2017] Error renew proxmox2.codingfield.com.
[Sun 29 Oct 18:03:13 UTC 2017] ===End cron===
I checked that the ports 80 and 443 where not opened before issuing the command.
I ran with ‘debug 2’, and it seems that the IPV4 and IPV6 addresses are resolved correctly:
[Sun 29 Oct 17:18:01 UTC 2017] original='{
"type": "http-01",
"status": "invalid",
"error": {
"type": "urn:acme:error:connection",
"detail": "Fetching http://proxmox2.codingfield.com/.well-known/acme-challenge/xIyx8EAZZqEgXQ1Xsht_PMuha9S9Wsgk69CuulqjxaM: Connection refused",
"status": 400
},
"uri": "https://acme-v01.api.letsencrypt.org/acme/challenge/p2jG5OL8vX5kg_XldhdGKrb-tmNAKPoMcJa4fWkRZjg/2338688664",
"token": "xIyx8EAZZqEgXQ1Xsht_PMuha9S9Wsgk69CuulqjxaM",
"keyAuthorization": "xIyx8EAZZqEgXQ1Xsht_PMuha9S9Wsgk69CuulqjxaM.tKMlECTPj2H-biJgbo-EPVlhR1R_hWApIyzzQ5XSi8M",
"validationRecord": [
{
"url": "http://proxmox2.codingfield.com/.well-known/acme-challenge/xIyx8EAZZqEgXQ1Xsht_PMuha9S9Wsgk69CuulqjxaM",
"hostname": "proxmox2.codingfield.com",
"port": "80",
"addressesResolved": [
"176.31.103.122",
"2001:41d0:8:187a::1"
],
"addressUsed": "176.31.103.122",
"addressesTried": [
"2001:41d0:8:187a::1"
]
}
]
}'
Do you have any idea why the certificate can’t be renewed?
Thanks