Skip to content

Instantly share code, notes, and snippets.

@philographer
Last active April 17, 2017 09:13
Show Gist options
  • Save philographer/e9995f14a70d2623bdaa5a2ff071378e to your computer and use it in GitHub Desktop.
Save philographer/e9995f14a70d2623bdaa5a2ff071378e to your computer and use it in GitHub Desktop.
Ubuntu Android Keytool Setting
@philographer
Copy link
Author

philographer commented Apr 17, 2017

이미 있는 keystore 파일 import

첫번째 시도할 방법

$ keytool -importkeystore -srckeystore ${jks파일명}.jks -destkeystore ${destination jks파일명}.jks

두번째 방법

#got me the alias.
$ keytool -list -v -keystore ${jks파일명}.jks 

# got me the certificate to import.
$ keytool -export -alias ${키이름 alias} -file ${certificate_name} -keystore ${jks파일명}.jks

# Then I could import it with the keytool:
keytool -import -alias ${키이름 alias} -file ${certificate_name} -keystore ${keystore파일명}.keystore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment