gpt4 book ai didi

amazon-web-services - 使用AWS API获取证书时如何引用AWS ACM证书

转载 作者:太空宇宙 更新时间:2023-11-03 12:45:36 27 4
gpt4 key购买 nike

<分区>

我正在使用 AWS,并且我已经使用 ACM 生成证书。 (这个过程与我习惯生成证书签名请求并将其提供给签名机构的过程不同。)我申请了一个证书: AWS Certificate

现在我正在尝试使用 the instructions from AWS 安装它:

aws iam get-server-certificate --server-certificate-name <<ExampleCertificate>>

仅当我替换 <<ExampleCertificate>> 时使用我的证书名称,我不确定应该用什么替换它。请注意,在上图中,我的 AWS 证书的 Name 列是空白的。 (注意:我确保为配置了 API IAMFullAccess 的 IAM 用户临时提供此权限,因此不存在权限问题。)如果我尝试使用域名 xxxxx.com作为名字,我被告知这条消息:

A client error (NoSuchEntity) occurred when calling the GetServerCertificate operation: 
The Server Certificate with name xxxxxxxx.com cannot be found.

当我同时使用标识符和 ARN 时会发生这种情况。

我的最终目标是在 NGINX 上拥有一个签名的 SSL 证书来提供我的 EC2 实例的 Web 内容。

A:这条路对吗? (这些是正确的初步步骤吗?)

B:如果是这样,我用什么来引用证书?还是我使用不同的 API?

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com