Change alias passwords of your Android Keystore
来源:互联网 发布:淘宝卖家怎么看交易额 编辑:程序博客网 时间:2024/05/29 09:47
I recently gave one of my applications to another developer to work on. They where to upload updates to Google Play and therefore needed the keystore to sign the application.
Now me being naive to start with my keystore had an alias that was specific to me and not the app, it also had a password that I was using elsewhere (tut tut). So I wanted to change these so I could give this user a copy of my keystore that was specific to them.
The initial keystore has a structure like this:
Name: old.keystorePassword: password123 Alias: my_name Alias Password: password456
Here’s how you’d go about it from already having your initial keystore.
- Copy your original keystore to a new location
- Change the keystore password
- Change the alias name
- Change the alias password
- Give to your new developer
Ok.. here .. we go.
Copy and Paste, thats easy! Now we have a new keystore called:
my.keystore
Next if we want to change the keystore password, ensure you have keytool on your path and you are in the directory of your keystore. Use the command:
keytool -storepasswd -keystore my.keystore
This will prompt you to enter the current password then enter a new password.
That’s your keystore password changed!
Next if we want to change the keystore alias password, ensure you have keytool on your path and you are in the directory of your keystore. Use the command:
keytool -keypasswd -keystore my.keystore -alias my_name
This will prompt you to enter the current password for the keystore then the current password for the keystore alias. You can then enter the new password that you wish you use.
That’s your keystore alias password changed!
Next if we want to change the keystore alias, ensure you have keytool on your path and you are in the directory of your keystore. Use the command:
keytool -changealias -keystore my.keystore -alias my_name -destalias my_new_name
This will prompt you to enter the current password for the keystore then the current password for the keystore alias.
That’s your keystore alias changed!
If you followed all three steps your keystore now looks like this:
Name: my.keystorePassword: newPassword123 Alias: my_new_name Alias Password: newPassword456
So there you go, now you can pass that keystore to the new developer knowing they can still update the application but not giving away any sensitive data about yourself!
Enjoy
- Change alias passwords of your Android Keystore
- Change alias passwords of your Android Keystore
- Android 修改keystore文件密码、alias名称
- 提前 keystore alias 别名
- it can change the look of your room
- Android 修改Android签名证书keystore的密码、别名alias以及别名的密码
- Android 修改Android签名证书keystore的密码、别名alias以及别名的密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- 修改Android签名证书keystore的密码、别名alias以及别名密码
- Rolling Guidance Filter
- Plus One
- 【HTML5】house
- 一张“神图”看懂单机/集群/热备/磁盘阵列(RAID)
- ActionBar的MenuItem显示样式
- Change alias passwords of your Android Keystore
- 拖动tableView时收起键盘
- 自动类型转换(参照剑破冰山第6章学习总结)
- C语言编程练习随笔
- B 站 HTML5 播放器内核 Flv.js
- Java解析XML的四种方式
- 用Python写网络爬虫系列(一)
- 自定义连接池
- linux常用操作