#1987 added json configuration support for passPhrase and privateKeyFile