Answer the question
In order to leave comments, you need to log in
Why is the ssl certificate not working?
Hello. I'm trying to install an ssl certificate. I add the following lines to apache2.conf:
<VirtualHost>
DocumentRoot /var/www
ServerName site.ru
SSLEngine On
SSLCertificateFile /etc/ssl/crt/site_ru.crt
SSLCertificateKeyFile /etc/ssl/crt/ssl-cert-snakeoil.key
SSLCertificateChainFile /etc/ssl/crt/site_ru.ca-bundle
SSLSessionCache dbm:/var/cache/httpd/ssl_cache
</VirtualHost>
Syntax error on line 270 of /etc/apache2/apache2.conf:
<VirtualHost> directive requires additional arguments
Action 'configtest' failed.
The Apache error log may have more information.
failed!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question