- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache web server SSL problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 07:21 AM
03-17-2002 07:21 AM
I have two separate instances (separate config files, etc.) of apache web server on HP-UX 11.0 (and the same setup for testing on an 11.11 system). Each web server instance uses a unique IP address and each has SSL enabled by means of a Verisign secure server certificate. I have a separate /opt/apache/bin/apachectl for startup/shutdown of each one.
-----------------
Apache web server "A":
Is started with "-DSSL" and the config file is in the default location. The ports are specified in httpd.conf as:
Listen X.Y.Z.156:80
Listen X.Y.Z.156:443
The port 443 is also speciied in the lines:
Listen 443
AND
-----------------------
Apache web server "B" configuration is identical to "A" except that the IP address is X.Y.Z.163 and the "-f" option is used in the startup to specify a separate httpd.conf file. It is also started with "-DSSL" option.
----------------------
If I start either A or B first, and in SSL mode, it is OK. The problem is in trying to start the second one in SSL mode.
For example, I first start A in SSL mode. It is OK. I check to make sure no process is using IP address X.Y.Z.163 (which will be used by B). Both "netstat -an|grep 163" and
"lsof -i -n -P|grep 163" display NO output. I try to start B in SSL mode. It fails with the following message in the error_log:
"Address already in use: make_sock: could not bind to port 443"
I can, however, start B in normal mode (no SSL) and it will be listening on both port 80 and 443. No matter which one I start second, the problem occurs, and it only occurs if I'm trying to start the second one in SSL mode. I'm stumped?
Leon.Howorth@acs-inc.com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 11:47 AM
03-17-2002 11:47 AM
Re: Apache web server SSL problem
Are they both trying to listen on 443?
If one has the port then the other can't.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2002 11:49 AM
03-17-2002 11:49 AM
Re: Apache web server SSL problem
Is ssl locking out 443 on the first instance so that the second cannot attach?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 02:18 AM
03-18-2002 02:18 AM
Re: Apache web server SSL problem
if both of them were listening on port 443 and blocking each other, why wouldn??t one use one apache with one httpd.conf in which 2 virtual hosts are specified ?
Greetings,
Christoph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 04:30 PM
03-18-2002 04:30 PM
SolutionListen 443
which tells Apache to bind to port 443 on *ALL* interfaces. This means that the first instance gets it and the second can not. The quick fix is remove this config block from each conf file.
The prefered solution, however, is to configure all of these virtual hosts in one Apache server. The key is to give each SSL virtual host a unique key and crt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2002 11:38 AM
03-20-2002 11:38 AM
Re: Apache web server SSL problem
I should have noticed something so
obvious.