My domain is: 3blox.fund
I ran this command: sudo certbot --apache
Everything went well, except that http->https redirect doesn’t work for www.3blox.fund
I must have overlooked some settings. I want to find out where the configuration file is so that I can manually fix the problem.
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
Can you please take a look at /etc/letsencrypt/options-ssl-apache.conf or any file located in /etc/apache2/sites-enabled/ folder?
There should be an config that has an redirection…
you need a certificate with both names: 3blox.fund,www.3blox.fund
http://www.3blox.fund/ redirects to https://www.3blox.fund/ - but the certificate is invalid, because it has only the name 3blox.fund.
So create a new certificate
certbot --apache -d 3blox.fund,www.3blox.fund
Thank you Steven. It is in /etc/apache2/sites-enabled folder.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.