0

我以这种方式调用证书。

cert create \
    --development \
    --username 'myusername@email.com' \
    --team_id 'MYTEAMID123' \
    --output_path '/This/Is/My/Path/_Certificates/PathPath/Development'

在 1.2.3 中使用相同的调用,我得到以下输出:

[12:29:31]: Starting login with user 'myusername@email.com'
[12:29:32]: Successfully logged in
[12:29:34]: Certificate ABC123 (Jon Doe) can't be found on your local computer
[12:29:35]: Found the certificate ABC12345 (Jack Doe) which is installed on the local machine. Using this one.

然后将下载证书并将其放置在我指定的输出路径中。

我现在在 1.3.0 上,它找不到我安装的任何证书。

我确实在我的脚本中较早地解锁了我的钥匙串:

/usr/bin/security list-keychains -s '/Users/.../login.keychain'
/usr/bin/security default-keychain -d user -s '/Users/.../login.keychain'
/usr/bin/security unlock-keychain -p JONDOE '/Users/.../login.keychain'
4

1 回答 1

0

我好蠢。我找到了cert的已关闭问题

我按照此处的说明进行操作,它为我解决了这个问题。

于 2016-02-17T17:16:17.193 回答