컴퓨터과학
Jar 파일에 서명하여 배포하기
코딩펀
2014. 1. 29. 14:31
1. 키 저장소 생성
keytool –genkey -keystore codingfun.keystore -alias codingfun
2. 키 저장소 자가 인증
keytool -selfcert -alias codingfun -keystore codingfun.keystore
3. 인증된 키 저장소 확인
keytool -list -keystore codingfun.keystore
4. 키 저장소를 이용하여 JAR 서명
jarsigner -keystore codingfun.keystore AAAA.jar codingfun