OCPP regulates the communication between charging stations and central management systems. OCPP security modes 1, 2, and 3 differ in terms of communication security, device authentication, and data integrity, providing diverse choices for different application scenarios.

OCPP security mode 1: Username + password.
Advantages: easy to use, not picky about networks or devices, low cost, fast, fast deployment, and fast changes.
What scenarios is it suitable for? For example, small charging sites used by employees within the company, used by their own people, and the network is also closed, then use mode 1.
Disadvantages: Poor security, usernames and passwords are transmitted in plain text, which is easy to steal, so it is basically not used in public charging networks with high security requirements.

OCPP security mode 2: upgraded version + TLS encryption.
If you think mode 1 is too dangerous, then mode 2 adds TLS encryption to it. In simple terms, it is “tighter” during the communication process, so that others can’t understand it even if they want to peek, and it’s also difficult to tamper with it.
This has a bit of the flavor of modern networks. Its advantage is that you don’t need to use a complicated certificate system, and it can make information transmission much safer. It is suitable for small-scale operation scenarios that require data transmission but don’t want to mess around too much.
OCPP security mode 3: TLS encryption + certificate verification
Mode 3 not only has TLS encryption, but also adds “certificate verification”, which is equivalent to you and me taking out your ID card before meeting, and it must be issued by the same organization to confirm that each other’s identity is OK before starting to chat.

Its biggest advantage is that it can ensure “who you are”, leaving no chance for the middleman, and ensuring that the data has not been tampered with. It is especially suitable for high-risk public places, but the cost is high.

How to choose the OCPP security modes? Use mode 1 for ease, mode 2 for safety, and mode 3 for security and complex scenarios. Don’t think it’s complicated. Choosing the right mode will add a reliable “firewall” to your charging system.