Unable to use strong encryption
- by user224299
So I am exploring Apache to create a simple example: the default page and a directory "secure". I everyone to be able to access the server but, when one wants to access the "secure" directory, I the connection to use strong encryption.
I am using apache2.4.
However this is not working and I don't know why!
I have done just like in the Apache tutorial:
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /home/vitorpereira/Desktop/cert.cer
SSLCertificateKeyFile /home/vitorpereira/Desktop/key.key
</VirtualHost>
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
<Location /var/www/html/secure>
SSLCipherSuite HIGH:!aNULL:!MD5
</Location>
But this does not work :/ And, I can access the secure folder with http but when I write https, it says not found!