Skip to content

Error when generating TLS certificate using AWS Route53 DNS challange, IAM EC2 instance role and assume role #2098

Closed Answered by tadeuszkleszcz
tadeuszkleszcz asked this question in Q&A
Discussion options

You must be logged in to vote

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:

aws ec2 modify-instance-metadata-options \
    --instance-id <instance id> \
    --http-put-response-hop-limit 2

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tadeuszkleszcz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant