1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
SSL - this depends on whether you're running WordPress on EC2 or Lightsail.
The method for EC2 is at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html
On Lightsail you can use Bitnami's bncert
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress
Alternatively, the steps to use Letsencrypt with WordPress on Lightsail are https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 일 년 전
Domain has SSSL but when it comes to Public IP why would my website accessible through Public IP.
I don't want to Public IP accessible, However, website only accessible through domain name.
Also when I access through public ip website shows without SSL
Have you understood my point?
Your website is available without SSL because the webserver is listening on an insecure port (almost certainly HTTP on port 80) and the security group is allowing inbound connections on that port.
You could stop the webserver listening on port 80, or you could close inbound port 80 in the security group, or you could redirect 80 (HTTP) to 443 (HTTPS).
how to do that in amazon light sail ? list down steps
Your website is available without SSL because the webserver is listening on an insecure port (almost certainly HTTP on port 80) and the security group is allowing inbound connections on that port. You could stop the webserver listening on port 80, or you could close inbound port 80 in the security group, or you could redirect 80 (HTTP) to 443 (HTTPS).
AWS provides the steps to redirect HTTP to HTTPS for Lightsail here https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-https-redirection