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

can we apply SSL on an elastic IP on EC2 or should we assign a domain name to the instance before?

· 52CE 我爱测

should we assign a domain name to our EC2 instance before loading an SSL certification, or we can apply an SSL directly to the elastic ip address we have? thank you

问题原文

原帖链接 · am fs · CC BY-SA 4.0

should we assign a domain name to our EC2 instance before loading an SSL certification, or we can apply an SSL directly to the elastic ip address we have? thank you

已采纳解答

原帖链接 · Peleion · CC BY-SA 4.0

In general you need a DNS hostname to get a SSL certificate. Your AWS elastic IP address should not change so this is not a factor. If you absolutely do not want to assign a hostname you could consider a self-signed certificate but this will bring it's own set of challenges later. Changing hostnames is not a problem later either unless you specify pinned certs - you can just get a new certificate with the new hostname. Also consider putting in a help ticket with AWS when you have the hostname set up - they will change the reverse DNS for you upon request.

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

资料来源与适用范围

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

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

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