lundi 27 avril 2015

Installing SSL certificate in EC2 .Error The Canonical string for this request

I am trying to upload SSL certificate purchased from GODADDY to AWS EC2 Micro instance. I did the following:

  1. Generated a RSA key (rsa.pem)
  2. Generated a CRT file
  3. Purchased and got the certificates from GODADDY
  4. Gave the following command:

    aws iam upload-server-certificate --server-certificate-name xyz -- certificate-body file:///var/www/html/godaddy_certname.crt --private-key file:///var/www/html/rsa.pem --certificate-chain file:///var/www/html/chain_file.crt

In response I am getting an error

The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method.

The Canonical String for this request should have been 'POST /

Can someone tell me what am I doing wrong here?




Aucun commentaire:

Enregistrer un commentaire