我已经制作完成的工具
下载地址 :编译WindowsXPSP1/Windows2003Server数字证书创建工具资源-优快云文库
需要安装Wsys2环境,在Wsys2中安装openssl和vim
然后运行generate.sh即可
Introduction
This utility is used to generate test certificates for a very long period of time. It generates the patched source files along with certificate files which should be copied to srv03rtm directory.
This patch should be used with the source set which includes the files from win2003_prepatched_v10a.zip!
Also, this utility was written on bash and should be used on nix systems. Sorry, I wasn't interested in writing the utility compatible with Windows, which may be kinda ironic. Anyway, you can try to use Git Bash instead, which may work for you.
As there is uncertainty regarding public file hosts, I'll include all scripts and necesarry files to this page.
Usage
- Copy the original (with "v10a prepatched" applied) source files to the
certutil/sourcedirectory, replacing/with-:
| Source file | Copy to |
|---|---|
| srv03rtm/base/ntsetup/syssetup/crypto.c | certutil/source/base-ntsetup-syssetup-crypto.c |
| srv03rtm/base/win32/fusion/sxs/strongname.cpp | certutil/source/base-win32-fusion-sxs-strongname.cpp |
| srv03rtm/ds/security/cryptoapi/mincrypt/lib/vercert.cpp | certutil/source/ds-security-cryptoapi-mincrypt-lib-vercert.cpp |
| srv03rtm/ds/security/cryptoapi/pki/certstor/policy.cpp | certutil/source/ds-security-cryptoapi-pki-certstor-policy.cpp |
| srv03rtm/ds/win32/ntcrypto/mincrypt/vercert.cpp | certutil/source/ds-win32-ntcrypto-mincrypt-vercert.cpp |
| srv03rtm/shell/shell32/defview.cpp | certutil/source/shell-shell32-defview.cpp |
| srv03rtm/tools/checktestpca.cmd | certutil/source/tools-checktestpca.cmd |
| srv03rtm/tools/checktestroot.cmd | certutil/source/tools-checktestroot.cmd |
| srv03rtm/tools/postbuildscripts/crypto.cmd | certutil/source/tools-postbuildscripts-crypto.cmd |
| srv03rtm/windows/core/ntuser/kernel/server.c | certutil/source/windows-core-ntuser-kernel-server.c |
- Run
generate.shfromcertutildirectory. - Copy the contents of
certutil/srv03rtm.certstosrv03rtm.
Certutil source files
certutil/generate.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |

博客介绍了已制作完成的Windows数字证书创建工具。需安装Wsys2环境,在其中安装openssl和vim,运行generate.sh。该工具用于生成长期测试证书,用bash编写,适用于nix系统,也可尝试用Git Bash,还说明了工具的使用步骤。
最低0.47元/天 解锁文章
1220

被折叠的 条评论
为什么被折叠?



