Upload a Signed Certificate to Amazon EC2

Posted by Tam Minh on Server Fault See other posts from Server Fault or by Tam Minh
Published on 2014-08-19T02:24:55Z Indexed on 2014/08/19 4:23 UTC
Read the original article Hit count: 495

Filed under:
|

I'm very new to Amazon EC2. I am trying to setup https for my website, I follow the offical instruction from amazon doc: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html

And I get stuck at Upload the Signed Certificate step

aws iam upload-server-certificate --server-certificate-name <certificate_object_name> 
--certificate-body <public_key_certificate_file> --private-key <privatekey.pem>
--certificate-chain <certificate_chain_file>

As a instruction, I just create a private key (privatekey.pem) and A Certificate Signing Request (csr.pem), but in the command line they request 4 params

1. certificate_object_name
2. public_key_certificate_file
3. *private-key --> I only have this one*
4. certificate_chain_file

I don't know where to get 3 remain params, please help to shed a light.

Thank you in advance.

© Server Fault or respective owner

Related posts about amazon-ec2

Related posts about ssl