TC_A_19_CSMS — Upgrade Charging Station Security Profile - Accepted
TC_A_19_CSMS — Upgrade Charging Station Security Profile - Accepted
Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block A. Security, page 343.
Identification
| Field | Value |
|---|---|
| Test case name | Upgrade Charging Station Security Profile - Accepted |
| Test case Id | TC_A_19_CSMS |
| Use case Id(s) | A05 |
| Requirement(s) | A05.FR.04, A05.FR.07 |
| System under test | CSMS |
| Functional block | A. Security |
Description
The CSMS updates the connection details on the Charging Station, to increase the security profile level.
Purpose
To verify if the CSMS is able to set a new network connection profile at one of the by the Charging Station defined configuration slots with a higher security profile than currently configured.
Prerequisite(s)
- Security profile must be set to 1 or 2.
- If Security profile is set to 1, then a trusted certificate must be installed.
Before (Preparations)
Configuration State:
- N/a
Memory State:
- If configured <Security profile> is 2, then RenewChargingStationCertificate
Reusable State(s):
- N/a
Main (Test scenario)
| Charging Station | CSMS |
|---|---|
| Manual Action: Request the CSMS to set a new NetworkConnectionProfile with a security profile level one higher than currently configured | |
| 2. The OCTT responds with a SetNetworkProfileResponse; With status Accepted | 1. The CSMS sends a SetNetworkProfileRequest |
| Manual Action: Request the CSMS to change the NetworkConfigurationPriority to one that contains the configurationSlot of the new NetworkConnectionProfile from step 1 | |
| 4. The OCTT responds with a SetVariablesResponse; with status Accepted | 3. The CSMS sends a SetVariablesRequest |
| Manual Action: Request the CSMS to reboot the Charging Station | |
| 6. The OCTT responds with a ResetResponse; with status Accepted | 5. The CSMS sends a ResetRequest |
| 7. The OCTT reconnects to the CSMS with security profile is <Configured securityProfile + 1> | 8. The CSMS accepts the connection attempt. |
| 9. Execute Reusable State Booted | |
| 10. The OCTT reconnects to the CSMS with security profile is <Configured securityProfile> | 11. The CSMS shall not accept the connection attempt. |
Tool validations
Step 1:
Message SetNetworkProfileRequest
- connectionData.messageTimeout <Configured messageTimeout>
- connectionData.ocppCsmsUrl <Configured ocppCsmsUrl>
- connectionData.ocppInterface <Configured ocppInterface>
- connectionData.ocppTransport JSON
- connectionData.ocppVersion OCPP20
- connectionData.securityProfile <Configured securityProfile + 1>
Step 3:
Message SetVariablesRequest setVariableData:
- variable.name = "NetworkConfigurationPriority"
- component.name = "OCPPCommCtrlr"
- attributeValue = <contains configurationSlot provided at step 1>
Post scenario validations
- N/a