如何从Amazon Certificate Manager下载公共证书 [英] How to download a public certificate from Amazon Certificate Manager
问题描述
我在Amazon Certificate Manager中拥有一个公共SSL证书.我想将此证书上传到不在Amazon中托管的实例.我如何从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
推荐答案
您无法从ACM下载SSL证书的私钥-ACM证书仅用于AWS ALB,CloudFront,API网关和其他AWS基础设施.ACM保留私钥,并将在使用证书的任何地方使用它.
您可以使用带有 aws acm get-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234的
.这将为您获取公共证书. awscli
下载证书-1234-1234-123456789012
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
这篇关于如何从Amazon Certificate Manager下载公共证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!