Unable to convert .jks to .pkcs12: excess private key
Update Dec 30, 2017 – 4 : I've managed to unpack .jks file and extract key and certs from it. To do this I wrote a small nodejs program inspired by signerbox2 an open-source project that uses .jks to sign data. In particular, I use jksreader npm package, which only exists for several days now! The program I wrote looks like this: const fs = require('fs'); jksreader = require('jksreader'), pathToFile = process.argv[2], password = process.argv[3], contents = fs.readFileSync(pathToFile), parsedContent = jksreader.parse(contents); var key = jksreader.decode(parsedContent.material[0].key, password)