煜楷:
// 把证书放在jar内,打包到jar中
String appCertPath = System.getProperty("user.dir") + "/target/classes/appCertPublicKey.crt";
String alipayCertPath = System.getProperty("user.dir") + "/target/classes/alipayCertPublicKey_RSA2.crt";
String alipayRootCertPath = System.getProperty("user.dir") + "/target/classes/alipayRootCert.crt";
// 把证书放在jar外,放在项目根目录,与jar同目录
// String appCertPath = System.getProperty("user.dir") + "/appCertPublicKey.crt";
// String alipayCertPath = System.getProperty("user.dir") + "/alipayCertPublicKey_RSA2.crt";
// String alipayRootCertPath = System.getProperty("user.dir") + "/alipayRootCert.crt";