https://issues.apache.org/bugzilla/show_bug.cgi?id=56183

            Bug ID: 56183
           Summary: pkcs12 windows and AprLifecycleListener
           Product: Tomcat 7
           Version: 7.0.47
          Hardware: Other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: mikej...@hotmail.com

Essentially an out-of-the-box install, I am receiving a reproducable error in a
Windows environment. I set the severity as an enhancement because there is a
simple workaround that doesn't introduce any severity of risk that I'm aware
of.

Replicating an install from a RedHat Linux machine to a Windows Server 2008 R2
machine, I'm getting the following error when I start the service up:

SEVERE: Failed to initialize end point associated with ProtocolHandler [...]
java.lang.Exception: Connector attribute SSLCertificateFile must be defined
when using SSL with APR

If I comment out:

<Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />

>From the server.xml the service boots up normally. (assuming it's now using
JSSE SSL)


You can reproduce this by doing a default install, and attempting to make a
connector that uses a pkcs12 keystore. Mine was an exported star cert from a
Windows box that I exported into a pfx.(star cert purchased from COMODO) 

The exact setup works fine on the linux box without any issues.

I have talked to a few Colleagues and they all can reproduce the error in their
environments.

Please let me know if I'm missing any pertinent information.

I would look to fix the code, but that is way above my expertise at this time.
Mike.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to