Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-730

mod_cluster cores when using https and the TLS connection fails.

    XMLWordPrintable

Details

    • Hide

       

      SSLProxyEngine on
      SSLProxyCACertificateFile "/etc/pki/CA/cacert.pem"
      SSLProxyMachineCertificateFile "/home/jfclere/CERTS/CLIENT/certfile.pem"

       

      tomcat connector configured like:

      <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
      scheme="https" secure="true"
      maxThreads="150" SSLEnabled="true">
      <SSLHostConfig caCertificateFile="/etc/pki/CA/cacert.pem" certificateVerification="required">
      <Certificate
      CertificateFile="/home/jfclere/CERTS/SERVER/newcert.pem"
      CertificateKeyFile="/home/jfclere/CERTS/SERVER/newkey.txt.pem"
      />
      </SSLHostConfig>
      </Connector>

       

      Is the connection fails you get a core:

      #0 0x00007f0dd305e757 in apr_brigade_cleanup (data=0x7f0dc803da10) at buckets/apr_brigade.c:44
      44 apr_bucket_delete(e);
      [Current thread is 1 (Thread 0x7f0dd0f02640 (LWP 190849))]
      (gdb) bt
      #0 0x00007f0dd305e757 in apr_brigade_cleanup (data=0x7f0dc803da10) at buckets/apr_brigade.c:44
      #1 0x00007f0dd303672e in run_cleanups (cref=<optimized out>) at memory/unix/apr_pools.c:2705
      #2 apr_pool_destroy (pool=0x7f0dc803ce88) at memory/unix/apr_pools.c:991
      #3 0x00007f0dd303670d in apr_pool_destroy (pool=0x7f0dc8038e68) at memory/unix/apr_pools.c:988
      #4 0x00007f0dd200c785 in proxy_cluster_watchdog_func (thd=<optimized out>, data=<optimized out>) at mod_proxy_cluster.c:2239
      #5 0x00007f0dd30413af in dummy_worker (opaque=0x1b0c280) at threadproc/unix/thread.c:147
      #6 0x00007f0dd2fac3f9 in start_thread () from /lib64/libpthread.so.0
      #7 0x00007f0dd2ed2b53 in clone () from /lib64/libc.so.

      Show
        SSLProxyEngine on SSLProxyCACertificateFile "/etc/pki/CA/cacert.pem" SSLProxyMachineCertificateFile "/home/jfclere/CERTS/CLIENT/certfile.pem"   tomcat connector configured like: <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https" secure="true" maxThreads="150" SSLEnabled="true"> <SSLHostConfig caCertificateFile="/etc/pki/CA/cacert.pem" certificateVerification="required"> <Certificate CertificateFile="/home/jfclere/CERTS/SERVER/newcert.pem" CertificateKeyFile="/home/jfclere/CERTS/SERVER/newkey.txt.pem" /> </SSLHostConfig> </Connector>   Is the connection fails you get a core: #0 0x00007f0dd305e757 in apr_brigade_cleanup (data=0x7f0dc803da10) at buckets/apr_brigade.c:44 44 apr_bucket_delete(e); [Current thread is 1 (Thread 0x7f0dd0f02640 (LWP 190849))] (gdb) bt #0 0x00007f0dd305e757 in apr_brigade_cleanup (data=0x7f0dc803da10) at buckets/apr_brigade.c:44 #1 0x00007f0dd303672e in run_cleanups (cref=<optimized out>) at memory/unix/apr_pools.c:2705 #2 apr_pool_destroy (pool=0x7f0dc803ce88) at memory/unix/apr_pools.c:991 #3 0x00007f0dd303670d in apr_pool_destroy (pool=0x7f0dc8038e68) at memory/unix/apr_pools.c:988 #4 0x00007f0dd200c785 in proxy_cluster_watchdog_func (thd=<optimized out>, data=<optimized out>) at mod_proxy_cluster.c:2239 #5 0x00007f0dd30413af in dummy_worker (opaque=0x1b0c280) at threadproc/unix/thread.c:147 #6 0x00007f0dd2fac3f9 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f0dd2ed2b53 in clone () from /lib64/libc.so.

    Description

      Configure mod_cluster and using TLS to connect to tomcat.

       

      If the connection fails you get a core.

      Attachments

        Activity

          People

            rhn-engineering-jclere Jean-Frederic Clere
            rhn-engineering-jclere Jean-Frederic Clere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: