linux 微信退款提示keystore password was incorrect,
java jar 证书放在linux下的目录, 没有放在jar包里面, 退款报错。
String certPath ="/java/iHospital/apiclient_cert.p12";
File file = new File(certPath);
InputStream certStream = new FileInputStream(file);
System.out.println("zhifu -----------------------------------------------------------------------------");
System.out.println(certStream);
this.certData = new byte[(int) file.length()];
certStream.read(this.certData);
certStream.close();
现在是我只要证书放在jar包外。 能正常退款