I have setup a WordPress website in AWS Lightsail (uses the Bitnami Wordpress). And I used the bncert-tool
using the command sudo /opt/bitnami/bncert-tool
to install the SSL.
I have forced www version to be used and and also the SSL was installed for the www and non-www domain using the above tool. DNS was managed within the Lightsail control panel's Domain & DNS
section.
Then I decided to move to the Cloudfare to manage the DNS. So copied the DNS records to Cloudfare and update the nameserver of the domain name to point to the Cloudfare. And removed the DNS Zone I created in the Domain & DNS
section of the Ligthsail instance.
But now whenever I try to access the domain, it shows an "ERR_TOO_MANY_REDIRECTS" error message. And the site is not accessible as it continue the redirections.
Could this be because of the SSL installed using bncert-tool
? Any solutions to resolve this?