Link to home
Start Free TrialLog in
Avatar of exsasan
exsasan

asked on

Convert SSL certificate to use with Amazon CloudFront

Hi there,
I setup a S3 based web site on Amazon and it works. then I tried to active SSL on that. I got a certificate from Comodo, the file I revived is  one file with .cer extension. For Amazon to accept the certificate it asks for following 3 files. How can I get these files?

--certificate-body file://public_key_cert_file.pem
--private-key file://my_private_key.pem
--certificate-chain file://my_certificate_chain_file.pem

http://docs.aws.amazon.com/cli/latest/reference/iam/upload-server-certificate.html

Thanks
Avatar of David Sankovsky
David Sankovsky
Flag of Israel image

That might be slightly tougher that you think.
As far as I know, the private key can only be obtained from the server the CSR was issued from after it was already signed. If you can first sign it on the server level, you should then be able to use this guide.

I could be mistaken however, so I'd try to contact Amazon for assistance, or wait for other experts to comment as well.
ASKER CERTIFIED SOLUTION
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial