Unable to use strong encryption

Posted by user224299 on Server Fault See other posts from Server Fault or by user224299
Published on 2014-06-08T01:03:20Z Indexed on 2014/06/08 3:27 UTC
Read the original article Hit count: 95

Filed under:

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!

© Server Fault or respective owner

Related posts about apache-2.4