I'm trying to set up SSL on my wordpress site.
我正在尝试在我的wordpress网站上设置SSL。
I've an EC2 instance running wordpress on nginx and ubuntu. Database running on RDS.
我在nginx和ubuntu上运行了一个运行wordpress的EC2实例。在RDS上运行的数据库。
I've launched an application load balancer with listeners on ports 80 and 443 and attached the SSL certificate which I got via ACM. I've set my targets to point to the EC2 instance I am using.
我已经在端口80和443上启动了一个带有侦听器的应用程序负载均衡器,并附上了我通过ACM获得的SSL证书。我已将目标设置为指向我正在使用的EC2实例。
At this point the how-to guides and information stops. Apparently that's all there is to it and it should now all be working. However it's not. I'm getting connection refused errors when I add the https to my site's URL.
此时,操作指南和信息将停止。显然,这就是它的全部,它现在应该都有效。但事实并非如此。当我将https添加到我网站的URL时,我收到连接拒绝错误。
When I put my URL into https://www.sslchecker.com/sslchecker I'm told that no certificates are found.
当我将我的URL放入https://www.sslchecker.com/sslchecker时,我被告知没有找到证书。
So clearly I need to something more to get this working - can anyone point me to the next step?
显然,我需要更多的东西来实现这一点 - 有人能指出我下一步吗?
1 个解决方案
#1
-1
Using the ELB and ACB is the way to go here. It sounds like you might be using the wrong type of ELB though. You mentioned application load balancer, you should use a classic load balancer. Also make sure your security groups are setup correctly to allow your ELB to talk to the EC2 instance.
使用ELB和ACB是这里的方法。听起来你可能正在使用错误类型的ELB。您提到了应用程序负载均衡器,您应该使用经典的负载均衡器。还要确保正确设置安全组以允许ELB与EC2实例通信。
You didn't mention Route53 but I assume you have the DNS entry setup to point at the ELB as well.
你没有提到Route53,但我假设你有DNS入口设置也指向ELB。
Share more and I will help more. Good luck.
分享更多,我会帮助更多。祝好运。
#1
-1
Using the ELB and ACB is the way to go here. It sounds like you might be using the wrong type of ELB though. You mentioned application load balancer, you should use a classic load balancer. Also make sure your security groups are setup correctly to allow your ELB to talk to the EC2 instance.
使用ELB和ACB是这里的方法。听起来你可能正在使用错误类型的ELB。您提到了应用程序负载均衡器,您应该使用经典的负载均衡器。还要确保正确设置安全组以允许ELB与EC2实例通信。
You didn't mention Route53 but I assume you have the DNS entry setup to point at the ELB as well.
你没有提到Route53,但我假设你有DNS入口设置也指向ELB。
Share more and I will help more. Good luck.
分享更多,我会帮助更多。祝好运。