From 135bc65fa8159193a04475b8efc88c49b5d5216e Mon Sep 17 00:00:00 2001 From: Akira - Cleber Akira Nakandakare Date: Fri, 17 Jan 2025 16:12:20 -0300 Subject: [PATCH] fix: correct csms_leaf_cert_directory default value in EvseSecurity The csms_leaf_cert_directory should point to the directory where CSMS leaf certificates are stored. However, the current default value (client/csms) does not reflect the actual location. The certificates are placed in ca/csms by the script Josev/iso15118/shared/pki/create_certs.sh. The directory certs/ca/csms/ contains: - CPO_SUB_CA1.pem - CPO_SUB_CA1_LEAF.der - CPO_SUB_CA2.pem - CPO_SUB_CA2_LEAF.der Meanwhile, certs/client/csms/ is used to store the private keys: - CPO_SUB_CA1.key - CPO_SUB_CA2.key This commit updates the default value of csms_leaf_cert_directory in EvseSecurity to ca/csms, to match the directory structure created by the script. Signed-off-by: Akira - Cleber Akira Nakandakare --- modules/EvseSecurity/manifest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/EvseSecurity/manifest.yaml b/modules/EvseSecurity/manifest.yaml index 870b7f5a0..8e2ae8306 100644 --- a/modules/EvseSecurity/manifest.yaml +++ b/modules/EvseSecurity/manifest.yaml @@ -21,7 +21,7 @@ config: csms_leaf_cert_directory: description: Directory where CSMS leaf certificates are stored. If relative will be prefixed with everest prefix + etc/everest/certs. Otherwise absolute file path is used. type: string - default: client/csms + default: ca/csms csms_leaf_key_directory: description: Directory where CSMS private keys are stored. If relative will be prefixed with everest prefix + etc/everest/certs. Otherwise absolute file path is used. type: string