Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated OCPP 2.0.1 Security Profile 2 MRE demo script #32

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

activeshadow
Copy link
Contributor

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.

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.

Signed-off-by: Bryan T. Richardson <[email protected]>
@activeshadow
Copy link
Contributor Author

@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.

Copy link
Collaborator

@shankari shankari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I would suggest also adding documentation on how to start this in developer mode (e.g. without the docker exec at the end) so that people can make changes and restart the server without having to restart the container.

But that doesn't have to hold up the demo. Will merge as soon as tests finish running

@shankari
Copy link
Collaborator

shankari commented Mar 18, 2024

@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
Copy link
Contributor Author

@shankari looks like all the tests passed! 👍

@shankari shankari merged commit 3b91266 into EVerest:main Mar 18, 2024
5 checks passed
@activeshadow activeshadow deleted the ocpp-demo-mre branch March 20, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants