0 votes
by (111 points)

Hi, I installed the AWS cli. Getting an error message for this AWS command

aws s3 ls s3://mybucket

Error message: 

An error occurred (RequestTimeTooSkewed) when calling the ListObjectsV2 operation: The difference between the request time and the current time is too large.

How can I solve this?

1 Answer

0 votes
by (141 points)

Use these commands given below. Hope this will solve the issue.

service ntp stop

ntpdate -s 0.amazon.pool.ntp.org

service ntp start

Welcome to Codeshikari Q&A, where you can ask any vulnerability related questions and receive answers from the experts of the community. Screenshot-from-2019-03-15-23-08-47