Replaced a hard-coded keystore for the EVCC with the value given in the GlobalValues file (GlobalValues.EVCC_KEYSTORE_FILEPATH)
This commit is contained in:
parent
9239fe736d
commit
ce7c41d9cd
|
@ -1008,7 +1008,7 @@ public final class SecurityUtils {
|
|||
getCertificateChain(contractCertChain));
|
||||
|
||||
// Save the keystore persistently
|
||||
try(FileOutputStream fos = new FileOutputStream("evccKeystore.jks")){
|
||||
try(FileOutputStream fos = new FileOutputStream(GlobalValues.EVCC_KEYSTORE_FILEPATH.toString())){
|
||||
keyStore.store(fos, GlobalValues.PASSPHRASE_FOR_CERTIFICATES_AND_KEYS.toString().toCharArray());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue