EVerest / libocpp

C++ implementation of the Open Charge Point Protocol
Apache License 2.0
98 stars 48 forks source link

Allow security profile 0 to have a wss:// url #810

Open maaikez opened 1 month ago

maaikez commented 1 month ago

OCPP Version

OCPP1.6

Describe the problem

During the plugfest, some people wanted to connect with security profile 0 with a wss:// url. That is currently not possible with libocpp.

Describe your solution

No response

Additional context

No response

marcemmers commented 6 days ago

We recently discussed this here as well. It is quite easy to allow connecting to wss:// in security level 0 as well. The harder question is, do we then still expect checking the root certificate? If so, what would be the reason not to use level 2 in that case?

maaikez commented 1 day ago

We recently discussed this here as well. It is quite easy to allow connecting to wss:// in security level 0 as well. The harder question is, do we then still expect checking the root certificate? If so, what would be the reason not to use level 2 in that case?

Good question, I would say yes as it is a secure url. But I am not sure if that is what the people of the CSMS want ;).