Solved

Apache 2.0.63: not listening on 443

Posted on 2009-05-14
11
1,342 Views
Last Modified: 2013-12-27
I need some help.. I copied the ssl.conf and httpd.conf from an existing server, X. this new server is supposed to be a duplicate of X. They are on Solaris 10.
Somehow, I cannot get it to listen on 443. This is most frustrating. How do I troubleshoot it?

Also, if I want to make Apache listen on SSL only, is there a way? I am redirecting all port 80 traffic to 443 now.
0
Comment
Question by:QLJ
  • 6
  • 5
11 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 24396580
Is there something else already listening on port 443?  Any errors either in Sun's logs or apache's logs?

You can follow the directions at:

     http://www.cyberciti.biz/tips/howto-apache-force-https-secure-connections.html

to force port 80 traffic to port 443.
0
 
LVL 1

Author Comment

by:QLJ
ID: 24408577
Yup, I was already redirecting port 80 traffic. But i wanted to close port 80 totally. Only listen on 443.
Can this be done?

I dont seem to find any tell tale signs... is there a way to check if the packaged Apache comes with SSL support?
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24408612
Where did you get the package?  I fairly sure that most packages of Apache to day for any *nix platform comes with SSL support compiled in already.

To have apache not listen on port 80 in httpd.conf code listen 443 only.  Don't code listen 80.

0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 1

Author Comment

by:QLJ
ID: 24408637
The apache came pre-installed with the Solaris 10.

All else works fine, until I enable the "Redirect permanent" to 443.
0
 
LVL 1

Author Comment

by:QLJ
ID: 24408642
I forgot to add, SSL has been enabled on ssl.conf (LISTEN 443), but when I do a netstat -an, I realised that it 443 is not listening
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24408692
Do you have mod_ssl?
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24408732
0
 
LVL 1

Author Comment

by:QLJ
ID: 24409307
giltjr,
yes to both.
0
 
LVL 1

Author Comment

by:QLJ
ID: 24409673
up point value due to increased urgency
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24410783
What errors or problems did you run into?
0
 
LVL 1

Accepted Solution

by:
QLJ earned 0 total points
ID: 24411374
ok, got it...
aparently there were some issues with the ssl cert. keeps prompting for passphrase...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question