LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-30-2004, 06:45 AM   #1
klaus_m
LQ Newbie
 
Registered: Mar 2004
Distribution: Red Hat 7.3
Posts: 2

Rep: Reputation: 0
problem with SSL - cannot connect localhost


Dear all,

I work with Red Hat 7.3 and are to set up a LAMPS system.

The following packages are intalled but I run into problems with mod_ssl:
o apache_1.3.29.tar.gz
o mysql-standard-4.0.18-pc-linux-i686.tar.gz
o php-4.3.4.tar.gz
o openssl_0.9.7d
o mod_ssl-2.8.16.1.3.29.tar.gz

The following w o r k s n o t:
/usr/local/apache/apache-1.3.29/bin/apachectl startssl
-> [netscape - w/o space before ":"] https ://localhost
-> "connection refused" or "cannot connect to localhost"

Question: How can I define that "localhost" is allowed for https?


Note: this works
/usr/local/apache/apache-1.3.29/bin/apachectl start
-> [netscape - w/o space before ":"] http ://localhost
-> works

/usr/local/apache/apache-1.3.29/bin/apachectl startssl
-> [netscape - w/o space before ":"] http ://localhost
-> works


Does someone know how to solve that problem?

Greetings
Klaus
 
Old 04-03-2004, 12:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,139
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
There's three things really, two serverside and one clientside (and basically this isn't a security but a configuration issue).
Conf: did you configure Apache for ports 80 and 443?
Log: if you restart Apache logging in verbose mode, does it return any errors?
Cli: if you do [netscape - w/o space before ":"] https ://localhost:443 what does it return?

If it's unclear after trying, please post the details how you set up Apache and the cert stuff, and the relevant log parts, and the config.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache2 + mod-ssl keeps loading the default localhost.xxxxxx cert STEBEL Linux - Newbie 3 11-26-2005 07:49 AM
LocalHost:631 - cannot connect sitka Linux - Networking 6 05-30-2005 03:30 PM
Cannot connect to anything on localhost JohnKFT Slackware 17 05-11-2005 02:21 AM
can't connect to localhost acidblue Fedora 0 12-05-2004 07:20 PM
Can't connect to localhost Brendon Linux - Networking 11 07-30-2002 10:13 AM


All times are GMT -5. The time now is 07:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration