I’ve a Raspberry pi 2 (Jessie) with Apache2. My website is completeley restricted by
htacces. I’ve tried to setup LetsEncrypt but I’m lost.
Install with the apache option didn’t work so tried the webroot (removed htacces and put
it back after). When I do sudo tree everything seems to look alright.
ssl engine is on in etc/apache2/sites-available/default-ssl.conf
I’ve changed the SSLCertificateFile & the SSLCertificateKeyFile to
/etc/letsencrypt/mydomainname.com/cert.pem and privkey.pem.
At canyouseeme.org port 80 was visible but port 443 wasn’t, so
I typed: sudo a2enmod ssl
Now port 80 and port 443 are seen.
My website is as usual. I still haven’t got a lock. I think I connect to port 80
my ports.conf looks like this:
# If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default.conf Listen 80 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule>
I really don’t know from here what to do next.