Skip to content

javax.net.ssl.SSLHandshakeException: null cert chain #1

Closed
@josecelano

Description

@josecelano

I am trying to run this example but I get this message on ActiveMQ log:

2015-02-06 19:15:01,355 | WARN  | Transport Connection to: tcp://000.000.000.000:50277 failed: javax.net.ssl.SSLHandshakeException: null  cert chain | org.apache.activemq.broker.TransportConnection.Transport

Executing this command fron the client:

openssl s_client -connect 123.123.123.123:61612 -cert client.pem -showcerts

I get this output:

CONNECTED(00000003)
depth=0 /C=US/ST=State/L=City/O=Org/OU=Org Unit/CN=Activemq Server
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=US/ST=State/L=City/O=Org/OU=Org Unit/CN=Activemq Server
verify return:1

---
Certificate chain
 0 s:/C=US/ST=State/L=City/O=Org/OU=Org Unit/CN=Activemq Server
   i:/C=US/ST=State/L=City/O=Org/OU=Org Unit/CN=Activemq Server
-----BEGIN CERTIFICATE-----
....

I can connect well using stomp without SSL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions