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

Christopher L. Shannon commented on AMQ-6966:
---------------------------------------------

Most likely you need to configure your transport to want or need a client 
certificate otherwise it won't be available. For example:

{{wss://localhost:61623?transport.needClientAuth=true}}

or 

{{wss://localhost:61623?transport.wantClientAuth=true}}

> mqtt over wss impossible get certificate details
> ------------------------------------------------
>
>                 Key: AMQ-6966
>                 URL: https://issues.apache.org/jira/browse/AMQ-6966
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 5.15.3
>            Reporter: Jose
>            Priority: Major
>
> steps:
>  * connect from paho mqtt client to mqtt+ssl transport in activemq
>  * from plugin addConnection function call info.getTransportContext
> Expected, transportContext is an instance of X509Certificate[] so i can 
> extract certificate details
>  
> Issue:
> Execute the same but connect to wss transport in activemq
> info.getTransportContext return null



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to