• Stars
    star
    831
  • Rank 54,863 (Top 2 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created almost 15 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A shell script to import key/certificate pairs into an existing Java keystore

Name

keytool-importkeypair โ€“ A shell script to import key/certificate pairs into an existing Java keystore

Installing

Add keytool-importkeypair to your PATH

Usage

keytool-importkeypair [-k keystore] [-p storepass]
-pk8 pk8 -cert cert -alias key_alias

This script is used to import a key/certificate pair
into a Java keystore.

If a keystore is not specified then the key pair is imported into
~/.keystore in the userโ€™s home directory.

The passphrase can also be read from stdin.

Example

Adding Android platform level certificates to the Android SDK.

keytool-importkeypair -k ~/.android/debug.keystore -p android -pk8 platform.pk8 -cert platform.x509.pem -alias platform

Feedback

Shoot me an email at [email protected] with any feedback.