Answer the question
In order to leave comments, you need to log in
Why can't a site on apache open via https?
Hello!
I have a site on local hosting.
platform - Windows 7
Server - XAMPP , includes Apache/2.4.17
Bought a GeoTrust certificate .
In httpd.conf I uncommented the lines:
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
<VirtualHost *:443>
SSLEngine on
DocumentRoot "C:/xampp/htdocs/sitename"
ServerName sitename.ru
ServerAdmin [email protected]
ErrorLog "C:/xampp/apache/logs/error.log"
TransferLog "C:/xampp/apache/logs/access.log"
SSLCertificateFile "c:/xampp/apache/conf/key/domain.crt"
SSLCertificateKeyFile "c:/xampp/apache/conf/key/private.key"
SSLCertificateChainFile "c:/xampp/apache/conf/key/chain.crt"
</VirtualHost>
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