From a15cc0d1d17952fc9fd468cbf8ac994ba4dc2cb8 Mon Sep 17 00:00:00 2001 From: AssemblyJohn Date: Mon, 27 May 2024 13:37:51 +0300 Subject: [PATCH 1/2] Updated dependency to OpenSSL V3 Signed-off-by: AssemblyJohn --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd1288dae..85e23a95b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ endif() # dependencies find_package(Boost COMPONENTS program_options regex system thread REQUIRED) find_package(SQLite3 REQUIRED) -find_package(OpenSSL REQUIRED) +find_package(OpenSSL 3 REQUIRED) if(NOT DISABLE_EDM) evc_setup_edm() From 24ed5e2d6cbb0af6481212a96b1246ecfb77bb3c Mon Sep 17 00:00:00 2001 From: AssemblyJohn Date: Mon, 27 May 2024 14:16:15 +0300 Subject: [PATCH 2/2] Updated readme Signed-off-by: AssemblyJohn --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5a9c1d568..f9550e1c0 100644 --- a/README.md +++ b/README.md @@ -273,16 +273,6 @@ This is defined in libocpp/include/ocpp/v16/charge_point.hpp and takes the follo │ └── V2G_ROOT_CA.key ``` - If you're missing (some of) these files you might see error messages like these during startup: - ```bash - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/cso - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/csms - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/mf - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/mo - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/oem - void ocpp::PkiHandler::execOpenSSLRehash(boost::filesystem::path) :: Error executing the openssl rehash command for directory: /etc/everest/certs/ca/v2g - ``` - #### registering callbacks You can (and in many cases MUST) register a number of callbacks so libocpp can interact with the charger. In EVerest most of this functionality is orchestrated by the "EvseManager" module, but you can also register your own callbacks interacting directly with your chargers software. Following is a list of callbacks that you must register and a few words about their purpose. @@ -476,6 +466,8 @@ For Debian GNU/Linux 11 you will need the following dependencies: sudo apt install build-essential cmake python3-pip libboost-all-dev libsqlite3-dev libssl-dev ``` +OpenSSL version 3.0 or above is required. + Clone this repository. ```bash