【发布时间】:2015-10-25 21:52:17
【问题描述】:
如何将私钥/公钥从一台 mac 转移到另一台?
我知道如何使用 Keychain Access 将私钥导出到 .p12,然后当我在目标 mac 中双击它时,它会添加到 Keychain Access。 但是,当我将公钥导出到 .pem 文件时,在目标 mac 中双击它只会吐出:
An error has occurred. Unable to import an item. The contents of this item cannot be retrieved.
当我尝试 the solution 或 security import pub.pem -k login.keychain 时,它显示为 1 key imported.,但它没有显示在 Keychain Access 上。
- 我错过了什么吗?
- 我不应该费心转移公钥吗?
- 只导入那个私钥就够了吗?
- 只有recovering the public key from the private key吗?
谢谢
【问题讨论】:
标签: macos certificate keychain private-key public-key