T
T
therealvetalhidden2015-02-05 15:04:14
Apache HTTP Server
therealvetalhidden, 2015-02-05 15:04:14

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>

5) Restarted the server
resulting in a 500 Internal Server Error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Fateev, 2015-02-05
@svfat

And try it like this:

SSLCertificateFile conf/cert/cert.crt
SSLCertificateKeyFile conf/cert/cert.pem

And what's in the logs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question