InputStream certStream = new ByteArrayInputStream(Base64.decodeBase64(priKey.getBytes()));
char[] password = merchantId.toCharArray();
KeyStore ks = KeyStore.getInstance(KEYSTORE_TYPE);
ks.load(certStream, password);
报错java.io.IOException: DER input, Integer tag error
秘钥是根据官方文档生成的
https://api.mch.weixin.qq.com/secapi/mch/addsubdevconfig这个接口