Solved

Apache 2.0.63: not listening on 443

Posted on 2009-05-14
11
1,337 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now