我有一个 PKCS12 格式的证书(“gridcert.p12”),我正在尝试将其转换为可以在 PuTTY 中使用的密钥对。
我正在使用 OpenSSL 将 PKCS12 文件转换为一对 PEM 文件,一个用于私钥,另一个用于公钥。但是,PuTTY 不会接受 PEM 密钥。因此,我试图通过 PuTTY 密钥生成器(“puttygen.exe”)将私有 PEM 密钥转换为 PPK 格式。但是,当我尝试加载密钥时,PuTTY 密钥生成器会给出名义上的错误消息。
我的工作文档粘贴在下面。任何想法都非常感谢。
# 12:45 22.04.2015 #
goal: convert "gridcert.p12" to a PuTTY-useable keypair.
first, secluded prior work to subdirectory "old attempts".
i decided to keep "gridcert.p12" as-is, rather than regenerate it.
current OpenSSL version is "OpenSSL 1.0.2 22 Jan 2015" by The OpenSSL Project.
no snapshot; just the stable release.
it's meant for a 32-bit system, i think (it's …Run Code Online (Sandbox Code Playgroud)