1、rundll32.exe
命令:
rundll32.exe cryptext.dll,CryptExtAddCER D:\server.cer
特點:該方式是通過windows自帶的安裝向導(cryptext.dll)進行安裝。
還有一些指定:
RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenCAT %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddCER %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenCER %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenSTR %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddCRL %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenCRL %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddP7R %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenP7R %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenPKCS7 %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddPFX %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddSPC %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenPKCS7 %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtAddCTL %1 RUNDLL32.EXE CRYPTEXT.DLL,CryptExtOpenCTL %1
2、certmgr.exe
certmgr.exe /c /add D:\server.cer /s root
特點:只會彈出一個確定的警告。同支付寶的的相同。
示例:
Microsoft Windows XP [版本 5.1.2600] (C) 版權所有 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>d: D:\>certmgr.exe /c /add D:\server.cer /s root CertMgr Succeeded D:\>certmgr.exe /c /add D:\server.cer /s root Error: Failed to save to the destination store CertMgr Failed D:\>