activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charlie P.">
Subject Re: SSL problems with apollo 1.7, unknown_ca error
Date Sun, 27 Apr 2014 07:57:32 GMT
Problem was resolved by creating a new JKS with the entire certificate chain added. Interestingly,
the web admin page worked fine without the chain but the MQTT connector did not.

Can anybody advise how we can get this fix added as a note in the docs?

On 25 April 2014 at 10:36:50 am, Charlie P. ( wrote:

Hi all,

I'm trying to install Apollo 1.7 and set SSL with my own server certificate (issued by startcom).

Steps performed:
Created JKS
Imported my private key using keytool
Configured apollo.xml to use my new keytool.
Now the web admin HTTPS interface works fine, but its the ssl connection to the mqtt broker
that isn't working. I've been testing using mosquitto_pub and get this:

mosquitto_pub -h -p 61614 -f ~/input  -t chazman --cafile /media/truecrypt1/SSL/kaya-startssl/ca.pem
Client mosqpub/10571-brahma sending CONNECT
OpenSSL Error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
Error: Protocol error

In my Stacktrace.log I get these errors below. Does anyone have any ideas whats wrong?

--- LOGS

==> connection.log <==
2014-04-25 10:35:47,614 connected: local:/, remote:/

==> apollo.log <==
2014-04-25 10:35:47,972 | INFO  | Received fatal alert: unknown_ca
| 14596bd0785

==> stacktrace.log <==
2014-04-25 10:35:47,973 | INFO  | stackref=14596bd0785 Received fatal alert: unknown_ca
    at org.fusesource.hawtdispatch.transport.SslTransport.secure_read(
    at org.fusesource.hawtdispatch.transport.SslTransport.handshake(
    at org.fusesource.hawtdispatch.transport.SslTransport.drainInbound(
    at org.fusesource.hawtdispatch.transport.TcpTransport$
    at org.fusesource.hawtdispatch.internal.NioDispatchSource$

==> connection.log <==
2014-04-25 10:35:47,977 disconnected: local:/, remote:/

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message