[Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-21 Thread Sharon Ben-Asher
Hello, We are researching a push notifications platform for Android (a failover for Google's C2DM) I am using the Eclipse Paho Java client to connect to mosquitto broker (1.0.3). The broker is installed on a Ubuntu 12.04 (AWS EC2 instance) I successfully connected the client to the server using

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-21 Thread Sharon Ben-Asher
Edit: Now I see that Java throws the exception javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca From: mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net [mailto:mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net] On Behalf Of Sharon Ben

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-22 Thread Sharon Ben-Asher
Hi Roger I tried to test the connection with mosquitto_sub as you suggested. When I invoked mosquitto_sub -t \$SYS/# -h --cafile --cert --key I got the same "no certificate returned" error. I upgraded to 1.0.4 and tried again: 1) removed all SSL configuration and restarted the broker. Now w

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-23 Thread Sharon Ben-Asher
Hi Roger, I was drafted to QA for several days (fucking hate this). Will return to MQTT stuff in few days. Sharon -Original Message- From: mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net [mailto:mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net]

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-23 Thread Sharon Ben-Asher
Hi Roger, My tests for today: 1) set use_identity_as_username to false Invoked mosquitto_sub -v -p 1883 --cafile etc/ca.crt -t \$SYS/# successfully. 2) set require_certificate and use_identity_as_username to true Invoked mosquitto_sub -v -p 1883 --cafile etc/ca.crt -t \$SYS/# got "Unable to conn

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-23 Thread Sharon Ben-Asher
Roger, There seem to be network problems in AWS. So far I managed to get the following info: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise $ openssl version -a OpenSSL 1.0.1 14 Mar 2012 bui

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-24 Thread Sharon Ben-Asher
is not installed. Sharon -Original Message- From: Sharon Ben-Asher Sent: Tuesday, October 23, 2012 6:05 PM To: mosquitto-users@lists.launchpad.net Subject: RE: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned" Roger, There

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-24 Thread Sharon Ben-Asher
Resending the blocked files ... ca.crt_ Description: ca.crt_ client.crt_ Description: client.crt_ server.crt_ Description: server.crt_ -- Mailing list: https://launchpad.net/~mosquitto-users Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-use

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-24 Thread Sharon Ben-Asher
Hi Roger, At last, I can confirm that everything works! Thanks for all the help! I will post my sample code in stack overflow, so it will come up in google search... Sharon -Original Message- From: mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net [mailto:mosquitto

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-10-25 Thread Sharon Ben-Asher
Hi Andi Will do. I will let you know the details once its done. Sharon From: andypipe...@gmail.com [mailto:andypipe...@gmail.com] Sent: Thursday, October 25, 2012 12:55 PM To: Sharon Ben-Asher Cc: mosquitto-users@lists.launchpad.net Subject: Re: [Mosquitto-users] SSL connection from Java

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-14 Thread Sharon Ben-Asher
Hi Joe, We are investigating MQTT and mosquitto for the same purpose (push notifications for Android) As I said earlier. I was able to achieve 100K concurrent connections to one broker installed on medium sized AWS EC2 instance. However, for the purpose of benchmark, I used the most basic scenar

Re: [Mosquitto-users] Build up a MQTT server with about 20, 000+ subscribers

2012-11-15 Thread Sharon Ben-Asher
My test involved 100K clients subscribed to 100K topics. This is because our product requires to push each notification to a unique mobile device and never to more than one. So I can confirm that one mosquitto instance supports 100K topics with active subscribers. By the way, it beat RabbitMQ a

Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

2012-11-18 Thread Sharon Ben-Asher
...@gmail.com] Sent: Thursday, October 25, 2012 12:55 PM To: Sharon Ben-Asher Cc: mosquitto-users@lists.launchpad.net Subject: Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned" Hi Sharon As Roger said, from a Paho perspective it would be gre

Re: [Mosquitto-users] Sending reload signals from java

2012-12-04 Thread Sharon Ben Asher
Hi Saurabh, I am interested in the same request (for the same purpose - reload the configuration and ACL file) However, I am only interested in Linux so I guess my job is pretty straightforward - invoke kill command from Java. I think there is a real problem on Windows (regardless of mosquitto),

[Mosquitto-users] mosquitto_pub with SSL: can I provide PEM pass phrase

2013-01-03 Thread Sharon Ben Asher
Hi Roger (and anyone else, of course) I am trying to invoke mosquitto_pub with SSL. I provide all the necessary certificates and the call is successful. However, the program prompts me to get PEM pass phrase. I would like to provide that info in an argument or some other way that is not intera

[Mosquitto-users] libmosquitto on Android

2013-01-03 Thread Sharon Ben Asher
I was looking for a distribution of libmosquitto for Android. Came across this bug report https://bugs.launchpad.net/mosquitto/+bug/932608 is there any progress since this bug was opened? Thanks, Sharon. -- Mailing list: https://launchpad.net/~mosquitto-users Post to : mosquitto-users@lists

Re: [Mosquitto-users] maximum of simultaneous connections on a mosquitto broker

2013-01-20 Thread Sharon Ben Asher
Hi Chris, On the same thread, I testified to achieve 100K concurrent connections on one mosquitto broker, installed on one medim sized EC2 instance. All the clients were simultaneously connected, as both $SYS/broker/clients/active and netstat show that number. Rate of message sending was somethi

Re: [Mosquitto-users] Topic-per-device style model using Mosquito

2013-02-21 Thread Sharon Ben Asher
Eurig, I am also looking into using Mosquitto for the same exact purpose. You need to realize that in for the purpose of push notifications, the clients will have to be **constantly** connected to the broker. This means opening 2-3 million TCP connections and keeping them open with heartbeats.

Re: [Mosquitto-users] Topic-per-device style model using Mosquito

2013-02-26 Thread Sharon Ben Asher
Hi Roger, I didn't check into it yet, but on a surface look, it seems satisfactory. I will post more info once I get into this task. Sharon -Original Message- From: mosquitto-users-bounces+sharon.ben-asher=avg@lists.launchpad.net [mailto:mosquitto-users-bounces+sharon.ben-asher=avg