EVerest / everest-demo

EVerest demo: Dockerized demo with software in the loop simulation
Apache License 2.0
11 stars 13 forks source link

Updated OCPP 2.0.1 Security Profile 2 MRE demo script #32

Closed activeshadow closed 3 months ago

activeshadow commented 3 months ago

Adjusted creation of OCPP server (MaEVe CSMS) certificate bundles based on conversations in Zulip around the topic.

Added extra_hosts config to EVerest Manager service in relevant Docker Compose file to get constent behavior on all platforms for the host.docker.internal DNS name that is used as part of the demo.

See #25 for additional details.

Note that in order to test this, you will need to temporarily adjust line 34 of the demo-iso15118-2-ac-plus-ocpp201.sp2.sh script to use the head repo and branch for this PR. For example, git clone --branch ocpp-demo-mre https://github.com/activeshadow/everest-demo.git.

Also note that I've been having on-and-off luck with the Envoy load balancer that's used by default in the MaEVe CSMS project. For testing, you can use a version of MaEVe with the load balancer disabled by adjusting line 37 to use the no-lb branch of my fork of MaEVE.

activeshadow commented 3 months ago

@shankari can you take a look at this PR at your earliest convenience please? @sahabulh and I are currently working on getting his PR for SP3 updated per your requests and would like to base it on this one once it's tested and merged in.

shankari commented 3 months ago

@activeshadow this does not apply here, but if you are making changes to the docker image, please make sure to bump up the version number in .env so that the images are rebuilt

activeshadow commented 3 months ago

@shankari looks like all the tests passed! :+1: