Hello,
I've been trying to get ssl working on my website, and I keep failing. I think that I'm doing something wrong in my apache settings.
I'm running a single website on a server running on arch linux, with apache as the server, and the website is a django website.
My domain name is ult-saf-guides.com
I ran $ certbot --apache
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Failed redirect for ult-saf-guides.com
Unable to set enhancement redirect for ult-saf-guides.com
Unsupported directory layout. You may try to enable mod rewrite and try again.IMPORTANT NOTES:
- We were unable to set up enhancement redirect for your server,
however, we successfully installed your certificate.- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/ult-saf-guides.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/ult-saf-guides.com/privkey.pem
Your cert will expire on 2017-10-07. To obtain a new or tweaked
version of this certificate in the future, simply run certbot again
with the "certonly" option. To non-interactively renew all of
your certificates, run "certbot renew"
This is what I currently have in my httpd.conf file:
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<VirtualHost *:80>
ServerName ult-saf-guides.com
Alias /robots.txt /home/vernon/html/static/robots.txt
Alias /.well-known/ /home/vernon/html/.well-known/
<Directory /home/vernon/html/static>
Require all granted
</Directory>
<Directory /home/vernon/html/.well-known>
Require all granted
</Directory>
</VirtualHost>