Re: [Mosquitto-users] SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

2013-10-21 Thread Nagesh S
Try setting IP address for CN of your certificate. On Mon, Oct 21, 2013 at 1:23 PM, Abdul Wahid wrote: > Hi, > > > > I am new to this certificates and mosquito. > > I am trying to update mosquito version from 1.1.1 to 1.2.1. > > After replacing the binaries and libraries with the new one , I am

Re: [Mosquitto-users] SSL3_GET_SERVER_CERTIFICATE error with mosquitto_pub

2013-10-09 Thread Nagesh S
Hi Roger, I changed CN=IP address and it is working now. Thanks ! N On Thu, Oct 10, 2013 at 1:57 AM, Roger Light wrote: > Hi, > > The problem is most likely that your server certificate doesn't match > the hostname of your server (hence the "certificate verify failed" > message). > > I presume

[Mosquitto-users] SSL3_GET_SERVER_CERTIFICATE error with mosquitto_pub

2013-10-09 Thread Nagesh S
Hi, With s_client in OpenSSL, I am able to connect successfully. When I use the same parameters with mosquitto_pub, I get the SSL3_GET_SERVER_CERTIFICATE error. What am I missing ? s_client -host a.mqtt.broker -port 16105 -CAfile /home/user/trusted-CA/serverCA.crt -cert /home/user/certs/client01.p

[Mosquitto-users] Delay PUBACK in mosquitto_sub.

2012-08-19 Thread Nagesh S
Hi, I am exploring QoS=1 behavior. So, I was thinking, if I can use mosquitto_sub such that, I can make it send PUBACK with a programmable number of seconds of delay. Is this possible ? Or, is there any other client that could help me simulate this ? -- Mailing list: https://launchpad.net/~mosqui

Re: [Mosquitto-users] Getting the client ID of messages received

2012-07-27 Thread Nagesh S
The client ID was probably introduced to implement access control. So and so client ID cannot publish/subscribe to such topics, etc. Or, is allowed to publish/subscribe only if id and password authentication went successful, etc. At least, in mosquitto, there is a -I switch that generates a client

Re: [Mosquitto-users] mosquitto_sub and clean session flag disable

2012-07-27 Thread Nagesh S
I think, you are referring to retain flag. When you are connecting with clean session flag, then your subscriptions are retained. But, if you want the messages in the interim of disconnection (btw, you would get only the latest message), you need to publish with retain flag. So, try the following