Solved

Apache 2.0.63: not listening on 443

Posted on 2009-05-14
11
1,365 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

623 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