Failed to perform handshake: certificate verify failed

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
raston2
Posts: 1
Joined: 09 Oct 2012 13:26

Failed to perform handshake: certificate verify failed

Post by raston2 »

Hi,

I'm trying to connect for the first time. I keep getting this message:

[root@conductor zwaveme]# ./z-agent --debug -s z-cloud.z-wave.me --cacert ../Certificates/cacert.pem --cert ../Certificates/cert.pem --key ../Certificates/cert.key -d /dev/ttyUSB0
Opening device...
[D] Configuring device...
[D] Creating a socket...
[D] Enabling keep-alives on the socket...
Connecting to server...
[D] Initialising OpenSSL environment...
[D] Allocating SSL context...
[D] Loading personal certificate...
[D] Loading personal certificate key...
[D] Loading CA certificate...
[D] Setting verification mode...
Establishing SSL connection...
[D] Allocating SSL session...
[D] Assigning socket...
Performing SSL handshake...
[D] Initialising SSL state...
[D] Sending handshake...
[E] Failed to perform handshake: certificate verify failed
[D] Freeing SSL session...
[D] Freeing SSL context...

What should I try next?

Cheers

Rich
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Please check that ../Certificates folder exists...

Post by PoltoS »

Please check that ../Certificates folder exists and contains correct certificates. Your current folder is zwaveme, while in Z-Connector package it is in Unix folder. You seems to move Unix folder somewhere renaming it. Please check your certificates files.If this does not help, try to download the package once again — may be the package generation was corrupted.Hope this helps
Post Reply