Just received my zymbit last week. Getting an error: invalid engine “zymkey_ssl” - there is only the raspberry pi and the zymbit running. All python calls work.
root@HS-2017090119:~# openssl req -key nonzymkey.key -new -out zymkey.csr -engine zymkey_ssl -keyform e -subj “/C=US/ST=California/L=Santa Barbara/O=Zymbit/OU=Zymkey/CN=rpi.edge.zymbit.com”
invalid engine “zymkey_ssl”
1996076448:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:…/crypto/dso/dso_dlfcn.c:113:filename(/usr/lib/arm-linux-gnueabihf/engines-1.1/zymkey_ssl.so): /usr/lib/arm-linux-gnueabihf/engines-1.1/zymkey_ssl.so: cannot open shared object file: No such file or directory
1996076448:error:25070067:DSO support routines:DSO_load:could not load the shared library:…/crypto/dso/dso_lib.c:161:
1996076448:error:260B6084:engine routines:dynamic_load:dso not found:…/crypto/engine/eng_dyn.c:414:
1996076448:error:2606A074:engine routines:ENGINE_by_id:no such engine:…/crypto/engine/eng_list.c:339:id=zymkey_ssl
1996076448:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:…/crypto/dso/dso_dlfcn.c:113:filename(libzymkey_ssl.so): libzymkey_ssl.so: cannot open shared object file: No such file or directory
1996076448:error:25070067:DSO support routines:DSO_load:could not load the shared library:…/crypto/dso/dso_lib.c:161:
1996076448:error:260B6084:engine routines:dynamic_load:dso not found:…/crypto/engine/eng_dyn.c:414:
no engine specified
unable to load Private Key
Hi, I’ll be updating the Getting Started post today to reflect this information, but the problem is that Raspbian Stretch uses OpenSSL version 1.1 which is currently not supported by the Zymkey_SSL engine. The solution is to downgrade CURL and OpenSSL to the Raspbian Jessie versions. Here are instructions on how to do so.
Since your Zymkey functions work, let’s get straight to downgrading OpenSSL and CURL.
Now we will switch to the Jessie repository to install OpenSSL 1.0.1t. Open up the repo file with this command.
sudo nano /etc/apt/sources.list
Change the word stretch to jessie. The link should look like this deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
Press ctrl-O then ctrl-M to save.