Board logo

标题: [其他] CertMig - cert 证书导入与导出工具 [打印本页]

作者: tmplinshi    时间: 2011-6-21 17:06     标题: CertMig - cert 证书导入与导出工具

http://pan.baidu.com/share/link?shareid=4238069835&uk=1124163200
CertMig Command Line Utility - 2010 Simon Jarvis(c) wintools.com.au

CertMig.exe is a utility for exporting and importing all your personal
Certificatesfrom a command line prompt or administrative script.

Supported operating systems:
Windows 2000 Profressional/Server
Windows XP Professional
Windows Vista (Professional/Business/Enterprise)
Windows 7 (Professional/Business/Enterprise)
Windows 2003 Server
Windows 2008 Server

Usage: CertMig.exe <options>
Options:
        -e <folder>     The directory the certificates are exported to.
        -i <folder>     The directory/filename of certificates to be import
        -s <store>      Store is my, ca or svc (Optional, defaults to my).
        -p <password>   Password used for the PFX files (Optional).
        -X509           Export certificates in X509 base64 format (Optional

        -all            Export all certificates in the store (Optional).

Valid Store parameters are:
        MY      - (default) Current user personal certificates
        CA      - Local machine imported certificates
        SVC     - Local Service imported certificates

If a password is not specified then the password will be set to the exporte
filename less extension.

Example: Test.pfx password is PC-201106150228_Test

Exported file format:
        ComputerName_CertificateFriendlyName.pfx
        ComputerName_CertificateFriendlyName.cer

Default PFX file password (pfx files only):
        ComputerName_CertificateFriendlyName

If muliple certificates exist with the same name, a numeric value will
be appended to the file.

If the certificate friendly name has invalid file name characters
such as /\:*?"<>, they are cleared from the outputed file name only.

Importing certificates folder or filename can contain wildcards.
Example:
        CertMig.exe -i c:\temp\*.pfx -s MY

If no password is specified on the import, CertMig.exe the default password
format is tried.

Note when exporting in base64 X509 certificate format, PFX (private key
certificates) will be exported in PKCS #12 format and not base64.


示例:导入 test.cert
  1. CertMig -i "test.cert" -s CA
复制代码
==============================================

相关工具:

CertMgr - 证书添加/删除/查看...
http://bathome.net/viewthread.php?tid=12940

CerInstall - 最小化打开“证书导入向导”,然后自动点击按钮。
http://bathome.net/viewthread.ph ... muid=33065#pid83523
作者: fastslz    时间: 2011-6-21 18:40

还是有点遗憾,受信任的根证书,还是不能导入
作者: 情不自禁    时间: 2011-6-21 23:11

可以导入CER证书吗?
作者: 853122    时间: 2014-2-3 14:40

好神奇




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2