안드로이드
SHA-1 인증서 지문구하기 - The way getting the SHA1
아카이sun
2016. 2. 21. 19:51
우리가 흔히 구글맵 등의 api를 사용하기 위해서는 sha1 인증서 등을 구해야 할 경우가 종종 있다.
- Sometimes we need sha1 when using google api
debug키를 기준으로 설명하겠다.
- i will explain based on debug key
우선 cmd창을 띄우자.
- first, open the cmd window
윈도우의 시작버튼을 누르고 검색창에 cmd라 적는다.
- press window key, input cmd into the search box
창의 띄워지면 인증서가 있는 해당폴더로 이동한다.
- and then, move the folder that contains debugkey file.
keytool -list -v -keystore debug.keystore 을 입력하면 비밀번호를 묻는다.
- input the command.
디버그용은 비밀번호를 설정하지 않았으니 그냥 엔터로 패스하자.
- there in no password, just pass it.
다음과 같이 나타날것이다.
- you will see it like below
build용 sign키도 마찬가지이다. 해당 폴더에서 커맨드를 입력하면된다.