Electron Device Doctor Error -- openssl not recognized


#1

Resetting server and device keys

Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Okay! New keys in place, your device will not restart.
Error creating keys… Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c “openssl ecparam -name prime256v1 -genkey -out 47004a001951353338363036_ec_new.pem”
‘openssl’ is not recognized as an internal or external command,
operable program or batch file.

Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c “openssl ecparam -name prime256v1 -genkey -out 47004a001951353338363036_ec_new.pem”
‘openssl’ is not recognized as an internal or external command,
operable program or batch file.

The Doctor didn’t complete sucesfully. Command failed: C:\WINDOWS\system32\cmd.exe /s /c “openssl ecparam -name prime256v1 -genkey -out 47004a001951353338363036_ec_new.pem”
‘openssl’ is not recognized as an internal or external command,
operable program or batch file.

Please visit our community forums for help with this error:
https://community.particle.io/


#2

Yes I had the same issue

https://community.particle.io/t/bug-bounty-electron-not-booting-after-battery-discharges-completely/25043/130

I ran the particle doctor in a directory where openssl existed (in my case I had MingW installed so I ran it there)

Apparently it’s a path issue on your PC as particle installs openssl (but I have my doubts)

Regards
Marshall


#3

Thanks, I finally got it to work. It was a path issue.