views:

22

answers:

1

As stated in the title, I would like to import a key pair into Keychain Access.

What I have done:

  1. Obtaining an RSA public / private key pair by using OpenSSH

What I am going to do:

  1. Importing the key pair into the "login" keychain of Keychain Access
  2. Creating a CSR with OpenSSL
  3. Send the CSR to Apple for obtaining a developer certificate

Any suggestions are welcomed.

A: 

Found the answer by myself:

Open Terminal.app:

bash-3.2$ security import developer_rsa_key -k login.keychain -t priv -f openssh2
1 key imported.
bash-3.2$ security import developer_rsa_key.pub -k login.keychain -t pub -f openssh2
1 key imported.
Siu Ching Pong - Asuka Kenji