<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">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">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 class=""><font color="#888888"><br>

<br></font></span></div><span class=""><font color="#888888"><div>Mike Bean<br></div></font></span></div>
</div><br></div></div></div></div></div>