Error when configure microgateway Could not find openssl

Not applicable

Can anyone help? I have below error when first time configure the microgateway in my machine. Thanks!

C:\Users\xxxxxx>edgemicro configure -o bensonlaw-eval -e test -u benson.law@xxxxxx.com current nodejs version is v6.9.5

current edgemicro version is 2.5.7

password:

file doesn't exist, setting up

checking org for existing KVM

error checking for cert. Installing new cert.

Error: Could not find openssl on your system on this path: openssl at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\ pem\lib\openssl.js:237:23 at F (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\which\which.js:68:16) at E (C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modul es\which\which.js:80:29) at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\ which\which.js:89:16 at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\ isexe\index.js:42:5 at C:\Users\xxxxxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\ isexe\windows.js:36:5 at FSReqWrap.oncomplete (fs.js:123:15)

0 6 1,006
6 REPLIES 6

Former Community Member
Not applicable

you will need to install OpenSSL and add it to the path before running the configure command.

I am also facing exact same issue. I have install OpenSSL and added in path. Could you please advise how to resolve.

node version : 8.9.4, edgemicro : 2.5.12, openSSL 1.1.0g(32-bit), My laptop: windows 7 ulimate (64bit)

Former Community Member
Not applicable

I suspect two possibilities: 1) openssl is 32bit, but your windows is 64bit. 2) It may not actually be in the path.

@srinandans I have installed OpenSSL-Win64 and updated System path environment variable. From command prompt after path command execution, i can see openssl path.

Following steps i have done in sequence.

  1. Installed Node (8.9.4)
  2. Installed EdgeMicro using - npm install -g edgemicro
  3. Installed - Microsoft Visual C++ 2008 Redistributable x64 9.0.21022
  4. Installed - OpenSSL-win64 and added into the path
  5. Started openssl by executing openssl.exe
  6. Initialized edgemicro using : edgemicro init
  7. Logged in Cloud apigee edge
  8. executed : edgemicro configure -o <myorgname> -e test -u <myedgeusername>

I am still getting same error. Could you please advise what went wrong here.

Sorry, i wrongly tag above post/steps to Answer. Issue is yet not resolved.

Former Community Member
Not applicable

I setup Microgateway (v2.5.11 and Node.js 8.9.4) on Windows Server 2016.

I was able to download openssl from here (Win64 OpenSSL v1.1.0g).

I added openssl to the PATH

set PATH=%PATH%;C:\OpenSSL-Win64\bin

Then I set

set OPENSSL_CONF=C:\OpenSSL-Win64\bin\openssl.cfg