RealWorldCoder
RealWorldCoder

Reputation: 1021

A client error (SignatureDoesNotMatch) occurred when calling the UploadServerCertificate operation

Trying to install a multi-domain ssl certificate through AWSCLI using OpenSSL, it's a Comodo PositiveSSL Multidomain certificate.

I followed all the instructions on aws tutorials, and the web. I spent about 2 hours with Comodo tech support making sure I have proper files etc, re-issuing certs, etc., and still no luck.

I keep getting this error when I try to upload using the command shown here and here and there isn't much info on this error online.

A client error (SignatureDoesNotMatch) occurred when calling the UploadServerCertificate operation: Signature not yet current: 20150704T040234Z is still later than 20150704T032257Z (20150704T030757Z + 15 min.)

Anyone know why this is happening?

Upvotes: 4

Views: 5807

Answers (3)

Jay Hyber
Jay Hyber

Reputation: 321

Legit answer, check if your Computer time is correct. It will solve the problem.

Upvotes: 0

Amol Khanorkar
Amol Khanorkar

Reputation: 11

I was trying to pull details of RIs and Autoscaling from my AWS account using Boto3 and it was giving me the below error:

botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the DescribeAutoScalingGroups operation: Signature not yet current: 20170206T130536Z is still later than 20170206T130524Z (20170206T130024Z + 5 min.)

My instance time was not correct and due to this is is giving me an error. Running below command fixed it:

    root@ip-x-x-x-x:~# sudo ntpdate -s time.nist.gov

Upvotes: 0

Nitin AB
Nitin AB

Reputation: 538

Do a

sudo ntpdate -s time.nist.gov

Upvotes: 16

Related Questions