Upload a Signed Certificate to Amazon EC2
- by Tam Minh
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.