大网数据广告活动
服务器运维问答

Is there a way to have certificates installed on individual EC2 instances?

· 52CE 我爱测

I'm trying to see if I can install certificates on individual instances in AWS. I currently use a certificate on the loadbalancer, but does that mean that the certificate is installed on all the instances that use that loadbalanc…

问题原文

原帖链接 · Varda Elentári · CC BY-SA 3.0

I'm trying to see if I can install certificates on individual instances in AWS.

I currently use a certificate on the loadbalancer, but does that mean that the certificate is installed on all the instances that use that loadbalancer ?

this page : https://aws.amazon.com/certificate-manager/faqs/

says that certificates provided by ACM can only be used with specific AWS services Elastic Load Balancing and Amazon CloudFront.

If I get the certificate from another service is there a way to install it on the instances and make sure it's installed on all other instances that get spun up when scaling up and adding new ec2 instances ?

已采纳解答

原帖链接 · Tim · CC BY-SA 3.0

A certificate installed on the load balancer using certificate manager is only on the ELB. AWS can't automatically put anything on your EC2 instances EBS volume. You, however, can do anything on an EC2 instance you can do on any other server. You can't use the certificate from Certificate Manager on your instance, it's not available.

If you want the connection between ELB and your web server to be HTTPS you need to install your own certificate. I have a tutorial on how to do this with Nginx and Let's Encrypt available here. There are dozens of tutorials and dozens of ways to do this.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-03-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。