Advertisement
BaSs_HaXoR

OPENSSL_CONF fix for NPM (nodejs)

Jun 3rd, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Source: https://stackoverflow.com/questions/42918916/npm-install-openssl-failed-on-windows-10
  2.  
  3. As mentionned by Royi Mindel the npm openssl package is just a wrapper around the openssl binaries and not the actual openssl. You need to install openssl on your Windows 10 machine as follows:
  4.  
  5. 1) Download the binaries from https://code.google.com/archive/p/openssl-for-windows/downloads
  6. 2) Extract to C:\OpenSSL-Win32\ (or whatever name you want to give it).
  7. 3) Add the system environment variable OPENSSL_CONF with value c:\OpenSSL-Win32\openssl.cnf (points to the config file where you extrated the binaries)
  8. 4) Add C:\OpenSSL-Win32\bin to your Path environment variable
  9. 5) Open a cmd or PowerShell and type openssl version. It should work and you should see the version installed
  10.  
  11. // Info taken from: https://www.tbs-certificates.co.uk/FAQ/en/openssl-windows.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement