如何从 Amazon Certificate Manager 下载公共证书 [英] How to download a public certificate from Amazon Certificate Manager

查看:25
本文介绍了如何从 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 保留私钥,并将在使用证书的任何地方使用它.

您可以使用 awscliaws 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆