feat: keystore
This commit is contained in:
BIN
license/keystore/privateKeys.keystore
Normal file
BIN
license/keystore/privateKeys.keystore
Normal file
Binary file not shown.
@@ -109,8 +109,8 @@ public class LicenseCreatorController {
|
||||
param.setLicensePath(genParam.getLicensePath());
|
||||
}
|
||||
// 相对路径resources资源目录
|
||||
String resourcePath = getClass().getClassLoader().getResource("").getPath();
|
||||
param.setPrivateKeysStorePath(resourcePath + "privateKeys.keystore");
|
||||
// String resourcePath = getClass().getClassLoader().getResource("").getPath();
|
||||
param.setPrivateKeysStorePath("/opt/license/keystore/privateKeys.keystore");
|
||||
// param.setPrivateKeysStorePath("D:\\projects\\testdir\\spring-boot2-license\\cloud-license-serve\\target\\classes\\privateCerts.keystore");
|
||||
param.setIssuedTime(new Date());
|
||||
param.setExpiryTime(genParam.getExpiryTime());
|
||||
|
||||
Reference in New Issue
Block a user