LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   problem with SSL - cannot connect localhost (https://www.linuxquestions.org/questions/linux-security-4/problem-with-ssl-cannot-connect-localhost-164107/)

klaus_m 03-30-2004 06:45 AM

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

unSpawn 04-03-2004 12:47 AM

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.


All times are GMT -5. The time now is 09:11 PM.