Page 1 of 1

Failed to perform handshake: certificate verify failed

Posted: 09 Oct 2012 13:30
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

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

Posted: 09 Oct 2012 13:30
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