I need to create a certificate for my local host
I've created a certificate and copied the certificate in /opt/lamp/ect/ssl.key/sslnewkey.key
, /opt/lamp/ect/ssl.crt/sslnewcet.crt
.
And added in /opp/lamp/etc/httpd.conf
:
LoadModule ssl_module modules/mod_ssl.so
What I do? And Where do I put this:
<VirtualHost *:443>
DocumentRoot C:/xampp/htdocs/yourProject
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
</VirtualHost>
/opt/lamp/ect
in the first 2 certificate lines, and/opp/lamp/etc
for thehttp.conf
location, hopefully those typos are just on this site, but it's worth checking your file system too.