You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Henrik Karlsson (JIRA)" <ji...@apache.org> on 2015/11/01 09:45:27 UTC

[jira] [Commented] (AMQ-5408) jaasDualAuthenticationPlugin with client authentication not working for networkConnector

    [ https://issues.apache.org/jira/browse/AMQ-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984304#comment-14984304 ] 

Henrik Karlsson commented on AMQ-5408:
--------------------------------------

>From what I read in AMQ-5943 it sounds like the same bug, but I havn't been able to verify it.

> jaasDualAuthenticationPlugin with client authentication not working for networkConnector
> ----------------------------------------------------------------------------------------
>
>                 Key: AMQ-5408
>                 URL: https://issues.apache.org/jira/browse/AMQ-5408
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.10.0
>         Environment: Windows, Java 1.7
>            Reporter: Henrik Karlsson
>         Attachments: conf.zip
>
>
> When using jaasDualAuthentication with username/password for tcp connections and certification authentication for ssl, this works just fine then connection as a client. But when I try to setup a network connector over ssl with certification authentication it fails to connect with this error:
> java.lang.SecurityException: User name [null] or password is invalid.
> I also tried with nio+ssl with the same result
> If I change to jaasCertificateAuthentication it works for ssl connections but the non ssl fails (as expected)
> When I use nio+ssl with jaasCertificateAuthentication this also fails with this error:
> java.lang.SecurityException: Unable to authenticate transport without SSL certificate.
> But after failing 3 times it finally connects successfully on the 4:th attempt.
> So it seems that  jaasDualAuthentication doesn't work with Certificate Authentication.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)