Importing OpenSSH RSA Public / Private Key Pair into Apple's Keychain Access
Pergunta
As stated in the title, I would like to import a key pair into Keychain Access.
What I have done:
- Obtaining an RSA public / private key pair by using OpenSSH
What I am going to do:
- Importing the key pair into the "login" keychain of Keychain Access
- Creating a CSR with OpenSSL
- Send the CSR to Apple for obtaining a developer certificate
Any suggestions are welcomed.
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow