comparison Makefile @ 483:84bab82d1f58

extract certificate from jks keystore
author Carl Byington <carl@five-ten-sg.com>
date Mon, 01 Jun 2020 15:47:47 -0700
parents 3a83f40439d7
children e88d48be89a8
comparison
equal deleted inserted replaced
482:0b26e5c290e3 483:84bab82d1f58
42 echo -e "$(version)" >app/src/main/res/values/version.xml 42 echo -e "$(version)" >app/src/main/res/values/version.xml
43 (cd help; make) 43 (cd help; make)
44 44
45 genkey: 45 genkey:
46 keytool -genkeypair -keystore 510Connectbot.keystore -alias 510Connectbot -dname "cn=510Connectbot , ou=510Connectbot, o=five-ten-sg, o=com, c=US" -keyalg RSA -keysize 2048 -validity 10000 46 keytool -genkeypair -keystore 510Connectbot.keystore -alias 510Connectbot -dname "cn=510Connectbot , ou=510Connectbot, o=five-ten-sg, o=com, c=US" -keyalg RSA -keysize 2048 -validity 10000
47
48 exportkey:
49 keytool -export -alias 510Connectbot -file 510Connectbot.crt -keystore 510Connectbot.keystore
50 openssl x509 -inform der -in 510Connectbot.crt -out 510Connectbot.pem
47 51
48 docs: 52 docs:
49 (cd xml; make) 53 (cd xml; make)
50 (cd help; make) 54 (cd help; make)
51 55