Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing OpenSSH RSA Public / Private Key Pair into Apple's Keychain Access

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.

like image 381
Siu Ching Pong -Asuka Kenji- Avatar asked Aug 17 '10 11:08

Siu Ching Pong -Asuka Kenji-


1 Answers

Found the answer by myself:

Open Terminal.app:

$ security import developer_rsa_key -k login.keychain -t priv -f openssh2
1 key imported.
$ security import developer_rsa_key.pub -k login.keychain -t pub -f openssh2
1 key imported.
like image 140
Siu Ching Pong -Asuka Kenji- Avatar answered Sep 30 '22 10:09

Siu Ching Pong -Asuka Kenji-