rem batch file to sign OpenSSL files, only SHA256 c: cd C:\Program Files (x86)\Windows Kits\10\bin\x86 signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\libcrypto-3.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\libssl-3.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\legacy.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\openssl.exe" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\libcrypto-3.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\libssl-3.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\legacy.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win32\openssl.exe" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\libcrypto-3-x64.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\libssl-3-x64.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\legacy-x64.dll" signtool sign /p "password" /f "c:\Magdelp\certificates\magenta-systems-certkey.pfx" /d "Copyright (c) 1998-2023 The OpenSSL Project" /as /fd sha256 /tr http://timestamp.sectigo.com /td sha256 "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\openssl.exe" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\libcrypto-3-x64.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\libssl-3-x64.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\legacy-x64.dll" signtool verify /all /pa "c:\svn-repos\signed-openssl\openssl-3.1.2-win64\openssl.exe" pause