I am very new to Amazon EC2. I am trying to configure https for my website, I follow the official instructions from amazon doc: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html
And I'm stuck on the step of Downloading a signed certificate
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 an instruction, I simply create a private key ( privatekey.pem ) and a certificate signing request ( csr.pem ), but on the command line they request 4 parameters
- certificate_object_name
- public_key_certificate_file
- private-key → I only have this
- certificate_chain_file
I do not know where to get 3 parameters, please help shed some light.