我可以在没有域的情况下在 AWS 提供的 ALB 子域上设置 SSL 吗? [英] Can I setup SSL on an AWS provided ALB subdomain without owning a domain?

查看:28
本文介绍了我可以在没有域的情况下在 AWS 提供的 ALB 子域上设置 SSL 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 AWS ECS 上有以下设置:

I have following setup at AWS ECS:

  • Container with Caddy web-server at 80 port that serves static files and performs proxying of /api/* requests to backend
  • Container with backend at 8000 port
  • EC2 instance at ECS
  • ALB at subdomain http://some-subdomain-12345.us-east-2.elb.amazonaws.com/ (subdomain was provided automatically by AWS) with HTTP Listener

我想在 AWS 提供的这个子域中为 ALB 设置 SSL 证书和 HTTPS 侦听器 - 我该怎么做?

I want to setup SSL certificate and HTTPS Listener for ALB at this subdomain that was provided by AWS - how I can do it?

P.S. 当我们附加自定义域(即 example.com)时,我看到了一个带有 HTTPS 侦听器的 ALB 选项,AWS 将为它提供 SSL 证书.但这是一个宠物项目环境,我不担心真正的领域.

P.S. I have seen an option for ALB with HTTPS Listener when we are attaching custom domain i.e. example.com and AWS will provide SSL certificate for it. But this is a pet project environment and I don't worry about real domain.

推荐答案

我想在 AWS 提供的这个子域中为 ALB 设置 SSL 证书和 HTTPS 侦听器 - 我该怎么做?

I want to setup SSL certificate and HTTPS Listener for ALB at this subdomain that was provided by AWS - how I can do it?

不能这样做.这不是您的域(AWS 拥有它),您无法将任何 SSL 证书与其关联.您必须拥有自己控制的域.获得域后,您可以从 AWS ACM 获得免费的 SSL 证书.

You can't do this. This is not your domain (AWS owns it) and you can't associate any SSL certificate with it. You have to have your own domain that you control. Once you obtain the domain, you can get free SSL certificate from AWS ACM.

这篇关于我可以在没有域的情况下在 AWS 提供的 ALB 子域上设置 SSL 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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