From 533ea73db6936260407fd33f725f38e589c492be Mon Sep 17 00:00:00 2001 From: John Date: Mon, 27 May 2024 15:18:20 +0300 Subject: [PATCH] Updated dependency to OpenSSL V3 (#639) * Updated dependency to OpenSSL V3 * Updated readme --------- Signed-off-by: AssemblyJohn --- CMakeLists.txt | 2 +- README.md | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd1288dae4..85e23a95b2 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() diff --git a/README.md b/README.md index 5a9c1d568d..f9550e1c00 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