Connections
Passwords (Basic Auth)
If your CSMS asks chargers for a password, give the simulator the same one. The username is the simulator’s name. Use profile 1 for ws:// and profile 2 for wss://.
OCPP 1.6
Section titled “OCPP 1.6”- Open the simulator and its Configs tab.
- Set
SecurityProfileto1or2. - Click Add additional key, enter
AuthorizationKeyand the password (16 to 40 characters), turn Readonly off so that your CSMS can change it later, and click Save. - Power the simulator on and check its Logs tab.
OCPP 2.0.1 and 2.1
Section titled “OCPP 2.0.1 and 2.1”- Open OCPP Configs and click Duplicate on the default config.
- In Security Controller, set
BasicAuthPassword(at least 16 characters). - For
ws://leaveSecurityProfileat1. Forwss://set it to2. If the form says the value is too high, expand the row and raise Max Limit. - Click Submit, open the copy, click Apply Config and choose your simulators.
- Power a simulator on and check its Logs tab.
Many simulators
Section titled “Many simulators”A config gives all its simulators the same password. On OCPP 1.6 you can also use a config: add AuthorizationKey to your copy of the default one. Set that password for every simulator in your CSMS.
Test a password change
Section titled “Test a password change”Change the password from your CSMS while the simulator is connected, and check in its Logs tab that it reconnects. On OCPP 2.0.1 and 2.1, Max Limit of BasicAuthPassword has to allow the new length.