`
MyEyeOfJava
  • 浏览: 1126075 次
  • 性别: Icon_minigender_1
  • 来自: 北京
博客专栏
7af2d6ca-4fe1-3e9a-be85-3f65f7120bd0
测试开发
浏览量:70225
533896eb-dd7b-3cde-b4d3-cc1ce02c1c14
晨记
浏览量:0
社区版块
存档分类
最新评论

keytool-importkeypair

阅读更多
可以将定制的Key和证书合成keystore文件【linux环境】

https://github.com/getfatday/keytool-importkeypair

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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics