Solved

Apache 2.0.63: not listening on 443

Posted on 2009-05-14
11
1,348 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
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.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
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…
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.

821 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