First of all i'm new to programming and stuff but that's okay. The only part where i fail in is in this technical part like installing SSL for example!
I am trying to install a free SSL-Certificate on my website but it isn't working for some reason. I've added this code to my httpd-vhosts.conf
- Code: Select all
NameVirtualHost *
<VirtualHost *:80>
ServerName www.eco-aqua.be
ServerAlias eco-aqua.be
DocumentRoot "C:/xampp2/htdocs"
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "C:/xampp2/htdocs"
ServerName www.eco-aqua.be
ServerAlias eco-aqua.be
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
<Directory "C:\xampp2\htdocs\test">
Options All
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
It doesn't work it still says "Not secured" and trying to access it via Mozilla Firefox gives me that they don't allow self-signed certificates wich i did (makecert.bat).
I tried going to letsencrypt because thats also free to install but i don't get how i should install it: some weird commands where i don't know where i should type them.
Searched many of this up on Youtube and Google but it all ends like this for me. And yes this is only local development.
I really need to see that beautiful green lock though
Thanks in advance.