LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2007, 06:37 PM   #1
ramesh.mimit
LQ Newbie
 
Registered: Nov 2006
Posts: 26

Rep: Reputation: 15
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>
 
Old 02-05-2007, 06:58 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.
 
Old 02-06-2007, 03:53 AM   #3
ramesh.mimit
LQ Newbie
 
Registered: Nov 2006
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache PHP Configuration Problem Br. Nicholas SUSE / openSUSE 3 09-20-2006 03:59 PM
Apache configuration problem? abegetchell Linux - Software 4 03-21-2006 10:36 AM
Apache configuration problem malikperera Linux - Software 0 08-11-2004 05:41 AM
problem with apache configuration niehls Linux - Software 2 02-21-2003 11:18 AM
Apache configuration problem Lindis Linux - General 2 11-12-2000 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration