Skip to content

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

License

Notifications You must be signed in to change notification settings

JasonHonor/keytool-importkeypair

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 getfatday@gmail.com with any feedback.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%