Gary Tully created AMQ-6665:
-------------------------------

             Summary: certificate-based authentication on network bridge fails 
for nio+ssl protocol
                 Key: AMQ-6665
                 URL: https://issues.apache.org/jira/browse/AMQ-6665
             Project: ActiveMQ
          Issue Type: Bug
          Components: networkbridge
    Affects Versions: 5.14.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.15.0


client certificate authentication works in the following scenario:
{code}
Broker A
    ...
    <jaasDualAuthenticationPlugin 
        configuration="activemq"
        sslConfiguration="CertLogin" />
    ...
    <transportConnector name="sslTransportConnector" 
uri="ssl://0.0.0.0:61618?needClientAuth=true&amp;wantClientAuth=true"/>
{code}
Broker B
{code}
    ...
    networkConnector uri="static://(ssl://localhost:61618)" 
name="myNetworkConnector" duplex="true" consumerTTL="2" messageTTL="100" 
dynamicOnly="false">
    ...
{code}

But if you change the transport to nio+ssl, the network connector fails with 
the following message:
{code}
INFO | Stopping vm://localhosta#0 because Failed with SecurityException: User 
name [null] or password is invalid.
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to