Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: aws.htius.io
I ran this command:
certbot certonly --non-interactive --manual \
--manual-auth-hook "./auth-hook.sh UPSERT htius.io" \
--manual-cleanup-hook "./auth-hook.sh DELETE htius.io" \
--preferred-challenge dns \
--config-dir "./letsencrypt" \
--work-dir "./letsencrypt" \
--logs-dir "./letsencrypt" \
--agree-tos \
--manual-public-ip-logging-ok \
--domains $2 \
--email abc@htius.io
auth-hook.sh:
aws route53 wait resource-record-sets-changed --id \
$(aws route53 change-resource-record-sets --hosted-zone-id \
"$(aws route53 list-hosted-zones-by-name --dns-name $2. \
--query HostedZones[0].Id --output text)" \
--query ChangeInfo.Id \
--output text \
--change-batch "{ \
\"Changes\": [{ \
\"Action\": \"$1\", \
\"ResourceRecordSet\": { \
\"Name\": \"_acme-challenge.${CERTBOT_DOMAIN}.\", \
\"ResourceRecords\": [{\"Value\": \"\\\"${CERTBOT_VALIDATION}\\\"\"}], \
\"Type\": \"TXT\", \
\"TTL\": 30 \
} \
}] \
}" \
)
It produced this output:
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for aws.htius.io
Running manual-auth-hook command: ./auth-hook.sh UPSERT htius.io
Waiting for verification...
Challenge failed for domain aws.htius.io
dns-01 challenge for aws.htius.io
Cleaning up challenges
Running manual-cleanup-hook command: ./auth-hook.sh DELETE htius.io
manual-cleanup-hook command "./auth-hook.sh DELETE htius.io" returned error code 2
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: aws.htius.io
Type: unauthorized
Detail: Incorrect TXT record
"bxsKelGFl32JRVmNO6aSKAgCLmXD7TRMCDfIsJ0f3YE" found at
_acme-challenge.aws.htius.ioTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
*.aws.htius.io<
My web server is (include version):
Its an EKS cluster and we use route53
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don't know): I can log into the pod which runs letsencrypt
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):