LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache configuration problem (https://www.linuxquestions.org/questions/linux-networking-3/apache-configuration-problem-525892/)

ramesh.mimit 02-05-2007 06:37 PM

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>

chort 02-05-2007 06:58 PM

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.

ramesh.mimit 02-06-2007 03:53 AM

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.