LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2004, 08:48 AM   #1
maineweb
LQ Newbie
 
Registered: Nov 2004
Location: Maine
Posts: 1

Rep: Reputation: 0
SSL Install not going well. Linux server, Apache directions? File names not matching.


Hi, I've never even looked at a Linux server until yesterday. I'm trying to get the SSL certificate to work. It has been installed, but for whatever reason, when you go to my site, you get an error implying that the certificate was a self-signed one. We have a GeoTrust certificate, and it is on the server, but something is not right.

I thought the SSL How to thread on this forum might help. It was interesting, but first of all, can someone explain to me why the instructions reference Apache, but its a Linux server (I told you I was a newbie!)? Secondly, does it matter that my httpd.conf file is not where the directions said it would be?

The issue I'm having is that the instructions Geotrust supplied, (I tried to supply the URL, but the forum won't let me because I haven't done 5 posts yet) tell me to put into the httpd.conf file these directives:

SSLCertificateFile /usr/loca/apache/conf/ssl.cert/server.crt (and a similar one for the KeyFile).

But, that is not where my .crt file is, it is on etc/htpd/conf/ssl.crt and it called main.crt .

So, I can reference that file instead, but it didn't make it work.

Also, the instructions say to restart my Apache server (why not Linux?) and gives a command that I'm sure makes sense in Apapche, /usr/local/apache/bin/apachectl startssl , but has no correlation with what I see on my Linux server. So, I just logged out and rebooted. Nothing changed.

The first thing I noticed when I looked at the httpd.conf file was that all references to SSL were commented out. I thought removing those might do something, but it didn't.

Help? Please?
 
Old 11-18-2004, 09:18 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The instructions are for the default installation of apache. According to your settings, your config file is: /etc/httpd/conf/httpd.conf. (It's probably httpd and not htpd)
Just open it with a text editor and find the lines about the SSL certificate and key and change them accordingly (i.e. SSLCertificateFile /etc/httpd/conf/ssl.cert/main.crt) Save it and then restart apache: apachectl restart (or better apachectl stop apachectl startssl)
 
  


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 SSL, and Virtual Server problem Spreegem Debian 2 04-07-2005 04:54 PM
multiple ssl certs, single apache server? hank43 Linux - Software 0 01-26-2005 04:56 PM
Apache-linux gateway to NT file server NEED SUGGESTIONS josephswagner Linux - Software 5 04-25-2003 02:05 PM
2 certificate ssl in 1 server apache simquest Linux - Software 2 07-24-2002 11:47 AM
install apache 1.3.22 + ssl chuck77 Linux - Software 1 11-15-2001 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:33 PM.

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