I have implemented AWS ELB for SSL. It's working fine with my domain. I want to redirect http to https. So I used the CloudFront for it. But after implementing the cloudfront, I didn't get success.
For implementing the Cloudfront, I am using the default SSL because there is no certificate in region=us-east-1
. I have updated the CNames in Route53.
For generating the certificate under ELB I have opted global.
Any suggestion?
I got the solution after 10 days after a lots of R&D.
Http to https redirection using CloudFront
Follow below steps:
Login into your aws console and search CloudFront
Go to CloudFront: Create Distribution(please select Web distribution)
Note : For Custom SSL Certificate (certificate should be in us-east-1 region
).
Final Step:
Still you getting problem please let me know
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With