Closed fgenoese closed 9 years ago
OK, solved. One simply needs to place a copy of the self-signed certificate into: _/usr/local/lib/nodemodules/blynk-library/certs/
The follow-up error (leaving everything else the same) is:
OnOff mode
Connecting to SSL: 192.168.1.55 8443
Error undefined
There is nothing in the server log (blynk.log) - any hints?
Hi. You specified var options = {addr:"192.168.1.55",port:8443}
.
Please note that hardware connection port is 8441 by default.
Thanks for the reply. I changed as suggested but the error persists even at port 8441:
OnOff mode
Connecting to SSL: 192.168.1.55 8441
Error undefined
Connecting to SSL: 192.168.1.55 8441
Error undefined
I am also getting the same eror Undefined. Somebody please suggest any solution. @vshymanskyy @fgenoese
I am running a local blynk server (0.11.4) on a Raspberry Pi with a self-signed SSL certificate, as instructed in the wiki.
When trying to connect through blynk-library-js (0.0.23), I get the following error:
The exact code I am using to connect is:
Both the server key and certificate are recognised in the start-up process of the server but I am not sure where to get/put the client certificate? The server log prints this:
Thanks