2016-10-18 21:26:39 +11:00
|
|
|
@echo off
|
|
|
|
|
2023-12-08 22:58:17 +01:00
|
|
|
@REM From December 2023, new certificates use DigiCert cloud HSM service for EV signing.
|
|
|
|
@REM They provide a client side app smctl.exe for managing certificates and signing process.
|
|
|
|
@REM Release CI machines are configured to have it in the PATH so this can be used safely.
|
|
|
|
smctl sign -k key_nodejs -i %1
|
|
|
|
if not ERRORLEVEL 1 (
|
|
|
|
echo Successfully signed %1 using smctl
|
|
|
|
exit /b 0
|
2016-10-18 21:26:39 +11:00
|
|
|
)
|
2023-12-08 22:58:17 +01:00
|
|
|
echo Could not sign %1 using smctl
|
|
|
|
exit /b 1
|