Skip to content

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://.

  1. Open the simulator and its Configs tab.
  2. Set SecurityProfile to 1 or 2.
  3. Click Add additional key, enter AuthorizationKey and the password (16 to 40 characters), turn Readonly off so that your CSMS can change it later, and click Save.
  4. Power the simulator on and check its Logs tab.
  1. Open OCPP Configs and click Duplicate on the default config.
  2. In Security Controller, set BasicAuthPassword (at least 16 characters).
  3. For ws:// leave SecurityProfile at 1. For wss:// set it to 2. If the form says the value is too high, expand the row and raise Max Limit.
  4. Click Submit, open the copy, click Apply Config and choose your simulators.
  5. Power a simulator on and check its Logs tab.

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.

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.