Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download a public certificate from Amazon Certificate Manager

I have a public SSL certificate in Amazon Certificate Manager. I want to upload this certificate to an instance that is not hosted in amazon. How can i download the certificate from Amazon Certificate Manager. I need to download both certificate and private key

like image 867
Nipu Avatar asked Aug 19 '19 18:08

Nipu


People also ask

Can I download AWS certificate?

Your AWS Certified certificate will be in your AWS Certification Account within five business days of you passing your exam. You can download your certificate on the Achieved Certifications tab.


Video Answer


1 Answers

You cannot download the private key for an SSL certificate from ACM - ACM certificates are only for use on AWS ALBs, CloudFront, API gateway and other AWS infrastructure. ACM keep hold of the private key and will use it whereever the certificate is used.

You can download the certificate using awscli with aws acm get-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012. This will get you Public certificate.

https://docs.aws.amazon.com/cli/latest/reference/acm/get-certificate.html

like image 76
Asdfg Avatar answered Nov 10 '22 13:11

Asdfg