<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Apache and SSL in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794240#M582252</link>
    <description>Hi Brent,&lt;BR /&gt;&lt;BR /&gt;   Could you post your httpd.conf file as it is now?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
    <pubDate>Tue, 27 Aug 2002 07:52:32 GMT</pubDate>
    <dc:creator>oiram</dc:creator>
    <dc:date>2002-08-27T07:52:32Z</dc:date>
    <item>
      <title>Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794236#M582248</link>
      <description>Hello all. Not sure if this is the proper place in the forum, so please advise as to the best place for this post.&lt;BR /&gt;&lt;BR /&gt;I've recently install Apache 2.0 using binary package B9416AA on a 9000 machine running HP-UX 11.x. This upgraded from Apache 1.3.4 that was installed from source. I have converted the old configuration file and set up the new config to run SSL.&lt;BR /&gt;&lt;BR /&gt;Problem: I can connect to the server over port 443 using normal http, but when I try using https either the request returns "Cannot find server" or it just seems to hang...? Any thoughts? &lt;BR /&gt;&lt;BR /&gt;I have successfully created a CSR and received my CRT from Thawte, so the elements all seem to exist. Have used apachectl startssl and even gone so far as to have mod_ssl load regardless...&lt;BR /&gt;&lt;BR /&gt;Please, I have shaved my head to prevent myself from pulling my hair out one strand at a time...</description>
      <pubDate>Mon, 26 Aug 2002 17:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794236#M582248</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-26T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794237#M582249</link>
      <description>Two guesses:&lt;BR /&gt;&lt;BR /&gt;1. It is configured to listen on port 443 whether or not mod_ssl is actually loaded.&lt;BR /&gt;&lt;BR /&gt;2. mod_ssl is loading, but the virtualhost is not configured.&lt;BR /&gt;&lt;BR /&gt;Check the error_log to verify that mod_ssl is loading when httpd is invoked.&lt;BR /&gt;&lt;BR /&gt;Also ensure in httpd.conf that mod_ssl.c is marked for loading if it a DSO library:&lt;BR /&gt;&lt;BR /&gt;LoadModule mod_ssl.c modules/mod_ssl.so&lt;BR /&gt;&lt;BR /&gt;And also ensure that all SSL config directives are processed only if mod_ssl is loaded:&lt;BR /&gt;&lt;BR /&gt;&lt;IFMODULE mod_ssl.c=""&gt;&lt;BR /&gt;Listen 443&lt;BR /&gt;&lt;/IFMODULE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IFMODULES mod_ssl.c=""&gt;&lt;BR /&gt;&lt;VIRTUALHOST 443=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;/IFMODULES&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Aug 2002 18:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794237#M582249</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-26T18:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794238#M582250</link>
      <description>Jordan,&lt;BR /&gt;&lt;BR /&gt;Thanks for the help. Took your advice to heart and re-encapsulated all the SSL directives in &lt;IFMODULE ...=""&gt; containers. Started a new error log file and nothing comes up in the error log except:&lt;BR /&gt;&lt;BR /&gt;[Mon Aug 26 15:52:06 2002] [notice] Digest: generating secret for digest authentication ...&lt;BR /&gt;[Mon Aug 26 15:52:07 2002] [notice] Digest: done&lt;BR /&gt;&lt;BR /&gt;Can I assume this to mean all is well with mod_ssl? Admittedly, my experience with HP-UX is only what I have inherited lately. Would yourself or anyone else be willing to part with an all ready existing HP httpd.conf that is configured for SSL that I could swap out to test against? Or better yet, know of any decently detailed step by step beyond the hp_apache_docs?&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/IFMODULE&gt;</description>
      <pubDate>Mon, 26 Aug 2002 21:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794238#M582250</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-26T21:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794239#M582251</link>
      <description>I was looking for an error_log entry similar to this:&lt;BR /&gt;&lt;BR /&gt;[Mon Aug 26 05:00:03 2002] [notice] Apache/2.0.40 (Unix) mod_ssl/2.8.10 OpenSSL/0.9.6g configured -- resuming normal operations&lt;BR /&gt;&lt;BR /&gt;The Digest entries may refer to mod_auth_digest.&lt;BR /&gt;&lt;BR /&gt;I'd also like to know if mod_ssl is static or dynamic... httpd -l will tell.&lt;BR /&gt;&lt;BR /&gt;If dynamic:&lt;BR /&gt;$ ./httpd -l&lt;BR /&gt;Compiled in modules:&lt;BR /&gt;core.c&lt;BR /&gt;prefork.c&lt;BR /&gt;http_core.c&lt;BR /&gt;mod_so.c&lt;BR /&gt;&lt;BR /&gt;If static:&lt;BR /&gt;$ ./httpd -l&lt;BR /&gt;Compiled in modules:&lt;BR /&gt;core.c&lt;BR /&gt;prefork.c&lt;BR /&gt;http_core.c&lt;BR /&gt;mod_so.c&lt;BR /&gt;mod_ssl.c&lt;BR /&gt;&lt;BR /&gt;At this time I do not have mod_ssl built for Apache 2.0.40, but only for 1.3.&lt;BR /&gt;&lt;BR /&gt;I'd also take another look at the httpd.conf and ssl.conf to see if the SSL macro is expected. If so, the SSL configuration sections will be wrapped between:&lt;BR /&gt;&lt;BR /&gt;&lt;IFDEFINE ssl=""&gt; and &lt;/IFDEFINE&gt;&lt;BR /&gt;&lt;BR /&gt;If this is so, try to determine if httpd is being invoked with -DSSL. Perhaps it needs to be added in /etc/rc.config.d/apache or /etc/rc.config.d/httpd (assuming the bundle provides the appropriate startup scripts). I generally just replace all use of the SSL macro with the &lt;IFMODULE mod_ssl.c=""&gt; because I like to control the use of modules strictly from the httpd.conf file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/IFMODULE&gt;</description>
      <pubDate>Mon, 26 Aug 2002 22:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794239#M582251</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-26T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794240#M582252</link>
      <description>Hi Brent,&lt;BR /&gt;&lt;BR /&gt;   Could you post your httpd.conf file as it is now?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 27 Aug 2002 07:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794240#M582252</guid>
      <dc:creator>oiram</dc:creator>
      <dc:date>2002-08-27T07:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794241#M582253</link>
      <description>Jordan,&lt;BR /&gt;&lt;BR /&gt;Thanks for bearing with me- I don't have access to the machine all the time so as yet am unable to perform the dynamic/static check. I did get this line from the new error log after start up:&lt;BR /&gt;&lt;BR /&gt;[Mon Aug 26 15:52:07 2002] [notice] HP Apache-based Web Server/2.0.32 configured -- resuming normal operations&lt;BR /&gt;&lt;BR /&gt;Originally the SSL macro was expected, but I removed the &lt;IFDEFINE ssl=""&gt; containers as I want SSL to start regardless every time without having to specifically use the startssl command parameter&lt;BR /&gt;&lt;BR /&gt;Oiram,&lt;BR /&gt;&lt;BR /&gt;I've included the httpd.conf file. Very interested to know what you think.&lt;BR /&gt;&lt;BR /&gt;As soon as I figure out how to make the points I assign stick, you'll have a few more... thanks to you both&lt;BR /&gt;&lt;BR /&gt;Brent&lt;/IFDEFINE&gt;</description>
      <pubDate>Tue, 27 Aug 2002 11:36:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794241#M582253</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-27T11:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794242#M582254</link>
      <description>Hi Brent,&lt;BR /&gt;&lt;BR /&gt;I??d modify the lines in which the mod_ssl module is loaded:&lt;BR /&gt;&lt;IFDEFINE ssl=""&gt;&lt;BR /&gt;LoadModule ssl_module         /opt/hpapache2/modules/libssl.so&lt;BR /&gt;&lt;/IFDEFINE&gt;&lt;BR /&gt;*note the absolute path&lt;BR /&gt;&lt;BR /&gt;If this don??t solve the problem could you check that the symptoms are the same(you can connect to port 443 using http but not https)&lt;BR /&gt;&lt;BR /&gt;Have you tried to run tusc over the start script(with the -f option to trace childs).&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 27 Aug 2002 13:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794242#M582254</guid>
      <dc:creator>oiram</dc:creator>
      <dc:date>2002-08-27T13:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794243#M582255</link>
      <description>Brent,&lt;BR /&gt;&lt;BR /&gt;I just took another look at our internal server... We have mod_ssl statically linked. Perhaps this is why I would expect it to show up in the "resuming normal operations" entry in error_log. As I think about it, none of the other dynamically loaded modules are reported. So I'll bet mod_ssl is loading unless you see new errors in the log suggesting that there is a problem with it.&lt;BR /&gt;&lt;BR /&gt;I forgot that the mod_ssl logs to another file. Look for ssl_engine_log for more clues.&lt;BR /&gt;&lt;BR /&gt;Your conf looks okay, but I question the use of two VirtualHosts on 192.168.50.201:80. They appear to be identical. Would it make more sense to include ServerAlias mphlab in the first one? Correct me if I'm wrong, but does Apache stop processing VirtualHosts when it runs into a problem? Perhaps the SSL vhost is not being initialized.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 17:07:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794243#M582255</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-27T17:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794244#M582256</link>
      <description>Oiram,&lt;BR /&gt;&lt;BR /&gt;Is it necessary to use the &lt;IFDEFINE ssl=""&gt; container? meaning that if I don't encapsulate the module it should load every time? Or does the module itself require the SSL environment variable created by starting Apache using *startssl* parameter?&lt;BR /&gt;&lt;BR /&gt;Sorry, i'm not familiar with tusc and tracing events that way...? Would love to learn though ;) My one HP-UX reference makes no mention of it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jordan,&lt;BR /&gt;&lt;BR /&gt;Good thought on the ServerAlias... Removed the mphlab VH and then stopped restarted Apache. Upon restart I tried to connect and had the same problem, but found this in the log:&lt;BR /&gt;&lt;BR /&gt;[Tue Aug 27 13:33:45 2002] [error] [client 24.242.163.50] Invalid method in request ???L  &lt;BR /&gt;[Tue Aug 27 13:33:45 2002] [error] [client 24.242.163.50] Invalid method in request ???L  &lt;BR /&gt;&lt;BR /&gt;Another (potentially)interesting tidbit is that neither Netscape 6 nor IE 6 do anything but the behavior described above, but Netscape 4.7 throws a 'Connection refused' error dialog...?&lt;BR /&gt;&lt;BR /&gt;Thanks to you and Oiram I feel pretty confident about my configuration file not being the cause. I am waiting to hear from the sys admin as to whether i'll be granted telnet access so i can run some of the debugging suggestions previously mentioned.&lt;BR /&gt;&lt;BR /&gt;Again, thanks again.&lt;/IFDEFINE&gt;</description>
      <pubDate>Tue, 27 Aug 2002 18:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794244#M582256</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-27T18:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794245#M582257</link>
      <description>I need to retract or amend what I wrote about dynamic modules not being identified on the startup entry in the error_log. I just installed mod_perl as a DSO using APXS and it shows up:&lt;BR /&gt;&lt;BR /&gt;Apache/2.0.40 mod_perl/1.99_05 Perl/5.8.0 -- resuming normal operations...&lt;BR /&gt;&lt;BR /&gt;I think that the core modules are not reported.&lt;BR /&gt;&lt;BR /&gt;I'll examine your conf file again.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 18:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794245#M582257</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-27T18:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794246#M582258</link>
      <description>&lt;BR /&gt;I'm still not sure if your vhosts are sufficiently defined... Try this:&lt;BR /&gt;&lt;BR /&gt;NameVirtualHost 192.168.50.201:80&lt;BR /&gt;&lt;IFMODULE mod_ssl.c=""&gt;&lt;BR /&gt;NameVirtualHost 192.168.50.201:443&lt;BR /&gt;&lt;/IFMODULE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;VIRTUALHOST 80=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IFMODULE mod_ssl.s=""&gt;&lt;BR /&gt;&lt;VIRTUALHOST 443=""&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;/IFMODULE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rather than using _default_:443.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 19:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794246#M582258</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-27T19:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794247#M582259</link>
      <description>Attached is our httpd.conf with two sites in four vhosts (two http, two https).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Aug 2002 19:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794247#M582259</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-08-27T19:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794248#M582260</link>
      <description>Thanks Jordan. I've just found out the sys admin isn't going to allow me telnet access to the site, so i'll have to be on location to do any of the command line debugging. Appreciate the reference httpd.conf file- didn't think it was necessary to specify anything more than the IP for the NameVirtualHost directive, but it certainly doesn't hurt to be specific. I've got a little BSD box i'm going to rework tonight and see how well my config works on that.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the help.&lt;BR /&gt;&lt;BR /&gt;-Brent</description>
      <pubDate>Tue, 27 Aug 2002 20:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794248#M582260</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-27T20:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Apache and SSL</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794249#M582261</link>
      <description>Well, thought I would follow up as to how this finished out. It was the virtual host container that wasn't configured sufficiently using the catch all '_default_:443' &lt;BR /&gt;&lt;BR /&gt;Needed to explicitly state:&lt;BR /&gt;&lt;BR /&gt;NameVirtualHost [address:port]&lt;BR /&gt;&lt;VIRTUALHOST port=""&gt;&lt;BR /&gt;&lt;/VIRTUALHOST&gt;&lt;BR /&gt;&lt;BR /&gt;for each of the normal and secure server sites.&lt;BR /&gt;&lt;BR /&gt;Anyway, many thanks to both of you for the help on, in retrospect, what was better suited for an Apache forum.</description>
      <pubDate>Wed, 28 Aug 2002 21:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-and-ssl/m-p/2794249#M582261</guid>
      <dc:creator>Brent Wiley</dc:creator>
      <dc:date>2002-08-28T21:50:00Z</dc:date>
    </item>
  </channel>
</rss>

