无法通过终端安全性导出命令将私钥作为p12导出System.keychain证书


1

我在system.keychain中安装了计算机证书,并希望通过security export命令使用私有密钥导出证书。

但是出现错误:security: SecKeychainItemExport: User interaction is not allowed.

命令: security export -k /Library/Keychains/System.keychain -P password -t identities -f pkcs12 -o /Users/skull/Desktop/test.p12

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.