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:
Marc Mültin 2020-07-23 17:33:56 +01:00
parent 9239fe736d
commit ce7c41d9cd
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}