install .p12 or .cer in console macos

前端 未结 3 652
悲哀的现实
悲哀的现实 2021-01-30 12:03

I\'ve try install .p12 cert to my macos use command line.

I can install .cer

sudo certtool I Certificates.p12 d

but it doesn\'t work on

3条回答
  •  再見小時候
    2021-01-30 12:36

    It's so simple. I've managed to do the following:

    security import ./dev_account.p12 -P 7373345585 -A
    

    It will not prompt for the keychain password. It's works for me.

提交回复
热议问题