【问题标题】:Install certificate on Apache using cloudformation使用 cloudformation 在 Apache 上安装证书
【发布时间】:2019-07-17 11:40:26
【问题描述】:

我有一个在 Amazon 证书管理器中导入的证书。它由 Digicert 签名,将用于托管 Apache Web 服务器的 ec2 实例。导入证书后,我得到了一个 ARN,但我无法弄清楚如何使用 ARN 在使用 cloudformation 的 ec2 实例上安装证书? 我已经阅读了互联网上的一些文档,建议是导入 .crt 和 .key 文件,然后将指令添加到 httpd.conf 文件。 有没有人尝试从 ACM 获取证书,然后使用 cloudformation 在 ec2 实例上安装?有哪些挑战?您是如何克服这些挑战的?

【问题讨论】:

  • docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html 可能有用,但为什么要使用 cloudformation 安装?
  • 我正在使用 cloudformation 部署几个实例,部分过程将负责在这些实例上安装 Apache。我还想将证书安装为 cloudformation 的一部分,这样我就不必手动安装和配置证书。一切都使用一个 cloudformation 模板。

标签: amazon-web-services ssl-certificate amazon-cloudformation


【解决方案1】:

结束了这个帖子How to install SSL certificate on a single instance ELB enviroment 为我工作,希望它会帮助别人 注意:仅用于测试目的

【讨论】:

  • 网址无效,您还记得解决方法吗?
猜你喜欢
  • 2017-03-05
  • 2016-12-24
  • 2014-06-26
  • 1970-01-01
  • 2012-11-04
  • 2017-07-15
  • 1970-01-01
  • 2016-03-14
  • 1970-01-01
相关资源
最近更新 更多