So after my great adventures of getting node and npm installed and running on my debian wheezy armhf build…and then cli…and then spark-server, I’m now up to spark-server setup and have hit a couple of snags.
node main.js fires up fine. Put a core in dfu mode. Open another terminal window…fire up the cli and per the docs enter
spark keys server default_key.pub.pem 192.168.1.76
The return I get however, is
Please specify a server key in DER format.
On the one hand this makes sense, since I wouldn’t expect the cli to know what default_key means, but I’m just following the docs. Then I thought maybe I needed to point my CLI config file at the Spark-Server first (counter to what the docs say), but this brought up the second problem.
~/.spark/ is an empty folder, thus there is no spark.config.json to edit.
Thanks as always.