Android Keystore From Letsencrypt
Here
Download: https://bouncycastle.org/download/bcprov-jdk15on-161.jar
place the file above in the same folder of certtificate
Download: https://bouncycastle.org/download/bcprov-jdk15on-161.jar
place the file above in the same folder of certtificate
export CLASSPATH=bcprov-jdk15on-161.jar
CERTSTORE=whisper.store
if [ -a $CERTSTORE ]; then
rm $CERTSTORE || exit 1
fi
keytool \
-import \
-v \
-trustcacerts \
-alias 0 \
-file <(openssl x509 -in cert.pem) \
-keystore $CERTSTORE \
-storetype BKS \
-provider org.bouncycastle.jce.provider.BouncyCastleProvider \
-providerpath /usr/share/java/bcprov.jar \
-storepass whisper
0 comments:
Post a Comment