Skip to content

Windows 10 and 11 install.bat fails with curl: (35) CRYPT_E_NO_REVOCATION_CHECK error #142

@SeanOfStJames

Description

@SeanOfStJames

Running install.bat on both my win 10 and win 11 machines I receive the following error.

Downloading https://nodejs.org/download/release/v18.20.5/node-v18.20.5-win-x64.zip...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.
Failed to download node-v18.20.5-win-x64.zip.

I tried manually installing the latest version
node-v23.10.0-x64.msi
node-v22.14.0-x64.msi

Workaround was to change line 31 of install.bat
from
curl -o "%TEMP_DIR%\%ARCHIVE_NAME%" "%BASE_URL%%ARCHIVE_NAME%"
to
` curl --ssl-no-revoke -o "%TEMP_DIR%%ARCHIVE_NAME%" "%BASE_URL%%ARCHIVE_NAME%"``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions