Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Unable to get SSL working: "routines:SSL3_GET_RECORD:wrong version number"

On Mon, Sep 15, 2014 at 4:18 PM,  <leduke4223@xxxxxxx> wrote:

> The client call is:
>  mosquitto_sub --key /home/myuser/CA/client.key --cert
> /home/myuser/CA/client.crt   -h 10.0.134.44 -p 8883 -t 'fancysub'
> --tls-version tlsv1.2 -d

You aren't setting a CA certificate so the client doesn't know you
want to use TLS (and wouldn't know which hosts to trust even if it was
using TLS. Try adding "--cafile all-ca.crt".

Cheers,

Roger


Back to the top