This tutorial was written after wasting too much time trying to figure out how to enable https on a prestashop bitnami instance.
These steps work for:
PrestaShop 1.7.4.3-0
Debian Linux 9 (HVM)
AWS EC2
To enable SSL and automatically redirect to https on a Prestashop bitnami instance , follow these steps:
Configure your custom domain
Follow each step of this bitnami tutorial to set up your custom domain:
https://docs.bitnami.com/aws/faq/configuration/configure-custom-domain/Configure your prestashop to accept SSL
This step might sound obvious, but if you're a prestashop nooby like me, it's never mentioned in any tutorial or solved issue as far as I know. As a result you'll encounter some redirection errors if you skip this step.
To enable fix this problem, you need to configure your prestashop to accept ssl
To do this, go in your prestashop admin (yourprestashopsite.com/administration) > Configure > Shop parameters > General
In the general page, make sure that "Enable SSL" and "Enable SSL on all pages" are toggled to "YES".Configure your apache to enable https support
Follow this interactive bitnami tutorial to enable https support on bitnami:
https://www.katacoda.com/bitnami/scenarios/configure-https
I encourage you to go with the Let's encrypt SSL certificate: it's free and easy to install. Bitnami provides a script to generate it as well as a cron job to auto-update your certificates when they expire.
Et voila, you should now be automatically redirected to your domain name with https enabled .
Hope this helps!
Top comments (1)
LetsEncrypt have revoked around 3 million certs last night due to a bug that they found. Are you impacted by this, Check out ?
DevTo
[+] dev.to/dineshrathee12/letsencrypt-...
GitHub
[+] github.com/dineshrathee12/Let-s-En...
LetsEncryptCommunity
[+] community.letsencrypt.org/t/letsen...