Error when generating TLS certificate using AWS Route53 DNS challange, IAM EC2 instance role and assume role #2098
-
Hi,
Configuration is done as in https://go-acme.github.io/lego/dns/route53/. The error happens when I run the following commands:
AWS IAM roles as set up according the the go-acme documentation. This issue only happens when using the IAM instance profile and assume role to authenticate.
Then go-acme successfully generated certs. Please let me know what can be the cause of this issue and how it can be resolved or how I can diagnose it further. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have fixed this issue it turned out to be caused by the timeout while obtaining credentials using the IMDS endpoint. I have fixed it by increasing http put response hop limit to 2 on the EC2 using command:
|
Beta Was this translation helpful? Give feedback.
I have fixed this issue it turned out to be caused by the timeout while obtaining credentials using the IMDS endpoint.
I have found the solution in AWS SDK for Golang thread: aws/aws-sdk-go#2972 (comment).
I have fixed it by increasing http put response hop limit to 2 on the EC2 using command: