Skip to content

Commit

Permalink
Replaced a hard-coded keystore for the EVCC with the value given in t…
Browse files Browse the repository at this point in the history
…he GlobalValues file (GlobalValues.EVCC_KEYSTORE_FILEPATH)
  • Loading branch information
Marc Mültin committed Jul 23, 2020
1 parent 9239fe7 commit ce7c41d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,7 @@ public static boolean saveContractCertificateChain(
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());
}

Expand Down

0 comments on commit ce7c41d

Please sign in to comment.