如何从 Amazon Certificate Manager 下载公共证书 [英] How to download a public certificate from Amazon Certificate Manager
问题描述
我在 Amazon Certificate Manager 中有一个公共 SSL 证书.我想将此证书上传到不在亚马逊中托管的实例.如何从 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 保留私钥,并将在使用证书的任何地方使用它.
您可以使用 awscli
和 aws acm get-certificate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234 下载证书-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屋!