Installation of Letsencrypt SSL on Bitnami Stack |
Hi Guys,
I am trying to install the Letsencrypt free SSL on my test server but I am getting a problem with the automatic validation of the server is failing and I think it might be due to the way CodeIgniter server the document root. As per the doco here: https://docs.bitnami.com/general/how-to/understand-bncert/#certificates-not-renewed-automatically It mentions to create a new folder and then map it to the wep server. I have done that but when I test it from the front-end I get the infamous error message: "You don't have permission to access /.well-known/ on this server." Hence, I don't believe Letenscrypt will be able to validate my domain. How can I serve a folder outside the document root via CodeIgniter for validation purposes? Kind Regards Trent
The ".well-known" folder should be created alongside your index.php if you are using HTTP verification.
If it doesn't work, you need to open your .htaccess if you are using Apache and exclude that folder from the . blocking rule.
Thanks for your quick response. I tried what you said but it didn't work. I had a look at my .htaccess file but there's no blocking rules in there:
RewriteEngine on RewriteCond $1 !^(index\.php|public|\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 <IfModule mod_php5.c> php_value upload_max_filesize 10M php_value post_max_size 10M </IfModule> #test pickup |
Welcome Guest, Not a member yet? Register Sign In |