qdwang
V2EX  ›  macOS

请教一下关于 apple 开发者证书的问题

  •  
  •   qdwang · Sep 6, 2022 · 1872 views
    This topic created in 1392 days ago, the information mentioned may be changed or developed.

    我有一台 macbook1 ,用它的 keychain 生成的 CSR 文件申请了开发者证书。

    在 macbook1 下载这个 cer 证书,可以顺利转成 p12 文件。

    在另一台 macbook2 下载这个 cer 证书,可以导入,但是在导出的时候,怎么都无法选择 p12 格式的文件。

    这是什么原因呢? 是否一定要在 macbook2 里用它的 keychain 生成一个新的 CSR 文件去申请一个新的开发者证书,才能用这个新证书导出成 p12 文件呢?

    谢谢

    ps. 两台 macbook 登陆的 apple id 一致

    4 replies    2022-09-06 13:20:15 +08:00
    gaogang
        1
    gaogang  
       Sep 6, 2022   ❤️ 1
    p12 格式是里面有私钥信息的, 证书的私钥在你 macbook1 上, 2 上面没有 所以无法导出
    estk
        2
    estk  
       Sep 6, 2022
    前几天研究 RN 编译 .ipa 刚好有用到证书的步骤,看看能否帮到你: https://medium.com/nerd-for-tech/abbde4086d08
    xtinput
        3
    xtinput  
       Sep 6, 2022
    #1 说的对要私钥
    qdwang
        4
    qdwang  
    OP
       Sep 6, 2022
    @gaogang
    @xtinput 谢谢,这下我明白了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1256 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:14 · PVG 01:14 · LAX 10:14 · JFK 13:14
    ♥ Do have faith in what you're doing.