apache configuration problem
i have configured apache webserver for secure site but when i open https://www.example.com i got error
"SSL Error" example.com is my site and it working fine when i open http://www.example.com my confiquration file is <VirtualHost 192.168.0.254> ServerAdmin root@server1.example.com ServerName www.example.com DocumentRoot /web/data/ <Directory /web/data> SSLEngine on Options Indexes Includes Allowoverride all </Directory> </VirtualHost> |
You have not defined an SSL certificate for the site to use (and likely have not generated one, either). You cannot simply turn on SSL, there needs to be a cert to perform the encryption and signing.
|
plz tell which enteries are required
so can u tell me which other enteries are also required to configure a secure site.
i reconfigured the file like this </VirtualHost 192.168.0.254> [previous enteries] SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt </VirtualHost> it is working but when i open it from an windows machine then it give an invalid certificate error but i proceed further it shows contents of my website. Why it is showing an invalid certificate. |
All times are GMT -5. The time now is 06:49 AM. |