在指向EC2实例的子域上使用SSL

在指向EC2实例的子域上使用SSL

本文介绍了在指向EC2实例的子域上使用SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Amazon实例还很陌生,因此希望获得任何帮助或建议

I'm pretty new to Amazon instances so any help or advice would be appreciated

我们托管自己的网络服务器ourdomain.org,该服务器具有多个子域.这些子域之一sub.ourdomain.org实际上指向的是Amazon EC2实例.通过DNS A记录访问该实例.

We host our own webserver, ourdomain.org, that has several subdomains.One of these subdomains, sub.ourdomain.org, is actually pointing to an amazon EC2 instance.The instance is reached through a DNS A record.

一切正常,但现在我们要使用SSL.

Everything is working fine but now we want to use SSL.

我的问题是在哪里安装证书以及如何配置它.我以为我们想在Amazon实例上执行此操作,但是我担心证书将无效,因为EC2实例所属的域与我们的Webservers域不同.这会是个问题吗?我还有其他潜在的问题吗?

My question is where to install the certificate and how to configure it. I'm thinking we want to do this on the amazon instance but I'm worried that the certificate will be invalid because the domain the EC2 instance is part of will be different from our webservers domain. Will this be an issue? Are there other potential issues I'm missing

任何帮助都将不胜感激.

Any help greatly appreciated.

推荐答案

您必须在EC2实例(您的网络服务器:apache,nginx等)上安装SSL证书/私钥.确保证书域完全匹配sub.ourdomain.orgstar证书,表示*.ourdomain.org

You have to install the SSL cert/private key on the EC2 instance (your webserver: apache, nginx, etc.) Make sure the certificate domain matches exactly sub.ourdomain.org or it's a star certificate meaning *.ourdomain.org

这篇关于在指向EC2实例的子域上使用SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-28 05:39