Answer the question
In order to leave comments, you need to log in
Need to configure apache?
Please help, if you can, it's very urgent!
It is very necessary to set up ssl on denwere so that my website https://mysite.ru would work on localhost.
1) Installed the denwera extension where there is ssl
2) Uncommented the line in php.ini - extension=php_openssl.dll
3) https://sslcertificate.ru/online-csr-generator - entered mysite.ru and the rest of the data I already came up with, so as I do for localhosta, and generated a certificate and a private key, and threw these files into the cert folder
4) Added the following code to .htaccess
<VirtualHost mysite.ru:443>
SSLEngine on
SSLCertificateFile /usr/local/apache/conf/cert/cert.crt
SSLCertificateKeyFile /usr/local/apache/conf/cert/cert.pem
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
And try it like this:
SSLCertificateFile conf/cert/cert.crt
SSLCertificateKeyFile conf/cert/cert.pem
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question