<div dir="ltr">Kinda.  Even if nobody responds to it, posting to the list for advice forces to me organize my thoughts and what I&#39;ve done in a way that I hope others can understand.   Sometimes moving the parts around like that helps.  But I can&#39;t say it did this time.  I showed my server.xml to a co-worker, he pointed out what was wrong with it.    (New set of eyes!)<br>
<br>Mike Bean<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 9:37 AM,  <span dir="ltr">&lt;<a href="mailto:foo7775@comcast.net" target="_blank">foo7775@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:Arial">Heh - if you&#39;re anything like me, posting to the list seems to be the prerequisite that finally &quot;unlocks&quot; the &#39;Aha! moment&#39; - regardless of whether anyone replies to the message or not...  ;-)<br>
<br>T<br><hr><b>From: </b>&quot;Mike Bean&quot; &lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt;<div class="im"><br><b>To: </b>&quot;CLUE&#39;s mailing list&quot; &lt;<a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a>&gt;<br>
</div><b>Sent: </b>Wednesday, June 19, 2013 9:27:10 AM<br><b>Subject: </b>[clue] Fwd: tomcat listeners (solved)<div><div class="h5"><br><br><div dir="ltr"><div><div><div><div><br></div>Whew.   success at last!   As we suspected the issue was with my server.xml connector configuration.  Apparently tomcat supports both JSSE and APR connection types and I was doing a connector designed for APR and trying to connect by JSSE.   (DOH!)<br>

<br></div>It should&#39;ve been more like <br><br>&lt;Connector port=&quot;443&quot; maxHttpHeaderSize=&quot;8192&quot;<br>         maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot; maxSpareThreads=&quot;76&quot;<br>

         enableLookups=&quot;false&quot; disableUploadTimeout=&quot;true&quot;<br>         acceptCount=&quot;100&quot; connectionTimeout=&quot;20000&quot;<br>         scheme=&quot;https&quot;<br>         secure=&quot;true&quot;<br>

         clientAuth=&quot;false&quot;<br>         sslProtocol=&quot;TLS&quot;<br>         SSLEnabled=&quot;true&quot;<br>         keystorePass=&quot;XXXXXXX&quot;<br>         keystoreFile=&quot;/openssl-1.0.0d_rhel6/ssl/certs/.keystore&quot; /&gt;<br>

<br></div>Apologies for troubling the list!<br><br></div>Mike Bean<br><div><div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mike Bean</b> <span dir="ltr">&lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt;</span><br>

Date: Wed, Jun 19, 2013 at 8:37 AM<br>Subject: tomcat listeners<br>To: CLUE&#39;s mailing list &lt;<a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a>&gt;<br><br><br><div dir="ltr"><div><div><div>
OK, I&#39;ve been staring at this for a while now, it&#39;s going to make me crazy if I don&#39;t ask for advice.  I&#39;ve been following the steps at: <a href="http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html" target="_blank">http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html</a><br>


<br></div>We&#39;re trying to get tomcat to listen for SSL connections: and I&#39;ve got tomcat working and serving pages on localhost:8080, and SSL accepting connections on 8080<br>via: openssl s_client -connect localhost:8080 -ssl3<br>


<br></div>Where the whole thing just kind of falls apart is that all the reading I&#39;ve been doing suggests that once you have tomcat and SSL going, it&#39;s just a matter of configuring the tomcat server.xml to add a listener on the correct port<br>


<br>&lt;Connector port=&quot;8443&quot; maxHttpHeaderSize=&quot;8192&quot;<br>               maxThreads=&quot;150&quot; minSpareThreads=&quot;25&quot; maxSpareThreads=&quot;75&quot;<br>               enableLookups=&quot;false&quot; disableUploadTimeout=&quot;true&quot;<br>


               acceptCount=&quot;100&quot; scheme=&quot;https&quot; secure=&quot;true&quot;<br>               SSLEngine=&quot;on&quot;<br>               SSLCertificateFile=&quot;/openssl-1.0.0d_rhel6/ssl/certs/myca.crt&quot;<br>


               SSLCertificateKeyFile=&quot;/openssl-1.0.0d_rhel6/ssl/private/localhost.key&quot; /&gt;<br><br><br></div><div>When the service is running, there should be a listener on the port:<br><br>[root@XXXXXXXXXXX conf]# lsof -iTCP:8080<br>


COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME<br>jsvc    15886 root   41u  IPv6 492302      0t0  TCP *:webcache (LISTEN)<br><br></div><div>But I&#39;m coming up dry every time:<br><br>[root@XXXXXXXXX conf]# lsof -iTCP:8443<br>


[root@XXXXXXXXX conf]#<br><br></div><div>The only errors I have in the tomcat log are of no use, they&#39;re on a different port. <br></div><div>I&#39;m running on RHEL6.3<br></div><div><br></div><div>Everybody I talk to seems to think tomcat is the easiest thing in the world, but I&#39;ll be damned if I&#39;m not seeing it.  Advice is appreciated.<span><font color="#888888"><br>


<br></font></span></div><span><font color="#888888"><div>Mike Bean<br></div></font></span></div>
</div><br></div></div></div></div></div>
<br></div></div>_______________________________________________<br>clue mailing list: <a href="mailto:clue@cluedenver.org" target="_blank">clue@cluedenver.org</a><br>For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a></div></div><br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>