我们可以在没有任何域的情况下将 SSL 添加到 EC2 弹性 IP 吗 [英] Can we add SSL to EC2 elastic IP without having any domain

查看:44
本文介绍了我们可以在没有任何域的情况下将 SSL 添加到 EC2 弹性 IP 吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景:我有一个托管 API 的 EC2 实例.我正在为 ec2 实例使用弹性 ip.这是我可以访问我的 API 的网址.

Scenario: I have an EC2 instance which hosts the api's. I am using elastic ip for ec2 instance. This is the url where I can access to my apis.

ec2-xx-xxx-xx-xxx.us-east-2.compute.amazonaws.com

我想给这个网址添加ssl

I want to add ssl to this url

请指导如何将 ssl 添加到我的 ec2 实例

please guide how to add ssl to my ec2 instance

推荐答案

您不能拥有 *.amazonaws.com 的 ssl 证书,您需要拥有自定义域,并且对于该域,您可以拥有 ssl 证书,主要用于获取ssl 证书,您需要对该域进行 DNS 控制,或者您的其中一封电子邮件应列在 WHOIS 查找中,amazonaws.com 均无法提供

You can't have ssl certificates for *.amazonaws.com, you need to have custom domain and for that domain you can have ssl certificate, basically for getting ssl certificates you need to have DNS control of that domain or your one of the emails should be listed in WHOIS lookup, both not possible for amazonaws.com

这篇关于我们可以在没有任何域的情况下将 SSL 添加到 EC2 弹性 IP 吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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