java加载证书报错:IOException : version mismatch: (supported: 00, parsed: 01
报错原因:java解析私钥的编码格式是:PKCS#8,需要将openssl生成的私钥进行编码转换:使用转换后的私钥重新生成即可。#报错的ec-secp256k1-dummy-priv-key.pem私钥,替换成新的p8file.pem私钥opensslpkcs8-topk8-nocrypt-inec-secp256k1-dummy-priv-key.pem-outp8file.pem