Wrong version of keystore on android call

You need to change the type of the keystore, from BKS to BKS-v1 (BKS-v1 is an older version of BKS). Because the BKS version changed as said here There is another solution, that is much much easier: Using Portecle: Downloads Portecle http://portecle.sourceforge.net/ Open your bks file with the password and portecle Do Tools>>Change Keystore Type>>BKS-v1 … Read more

Programmatically Install Certificate into Mozilla

Here is an alternative way that doesn’t override the existing certificates: [bash fragment for linux systems] certificateFile=”MyCa.cert.pem” certificateName=”MyCA Name” for certDB in $(find ~/.mozilla* ~/.thunderbird -name “cert8.db”) do certDir=$(dirname ${certDB}); #log “mozilla certificate” “install ‘${certificateName}’ in ${certDir}” certutil -A -n “${certificateName}” -t “TCu,Cuw,Tuw” -i ${certificateFile} -d ${certDir} done You may find certutil in the libnss3-tools … Read more

How to convert .pfx file to keystore with private key?

Using JDK 1.6 or later It has been pointed out by Justin in the comments below that keytool alone is capable of doing this using the following command (although only in JDK 1.6 and later): keytool -importkeystore -srckeystore mypfxfile.pfx -srcstoretype pkcs12 -destkeystore clientcert.jks -deststoretype JKS Using JDK 1.5 or below OpenSSL can do it all. … Read more