← Back to team overview

mosquitto-users team mailing list archive

Re: SSL connection from Java client to mosquitto broker: "no certificate returned"

 

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.com@xxxxxxxxxxxxxxxxxxx [mailto:mosquitto-users-bounces+sharon.ben-asher=avg.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Roger Light
Sent: Monday, October 22, 2012 2:34 PM
To: mosquitto-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Mosquitto-users] SSL connection from Java client to mosquitto broker: "no certificate returned"

Hi Sharon,

> The mosquito process is gone !

You've discovered a hole in my tests! This crash is down to mosquitto assuming that clients do actually pass a certificate when use_identity_as_username is set to true and that isn't necessarily the case. I've pushed a fix in this changeset:
https://bitbucket.org/oojah/mosquitto/changeset/04fc71f0d19c15a88338977dddaa2666c38de322

Setting use_identity_as_username to false is a quick workaround when working with 1.0.4 or previous versions.

Cheers,

Roger

--
Mailing list: https://launchpad.net/~mosquitto-users
Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~mosquitto-users
More help   : https://help.launchpad.net/ListHelp


References