Skip to content
Documentation Menu

TC_A_21_CS — Upgrade Charging Station Security Profile - No valid ChargingStationCertificate installed

TC_A_21_CS — Upgrade Charging Station Security Profile - No valid ChargingStationCertificate installed

Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block A. Security, page 25.

Identification

FieldValue
Test case nameUpgrade Charging Station Security Profile - No valid ChargingStationCertificate installed
Test case IdTC_A_21_CS
Use case Id(s)A05
Requirement(s)A05.FR.03
System under testCharging Station
Functional blockA. Security

Description

The CSMS is able to change the connectionData at the Charging Station. By doing this it is able to upgrade the connection to a higher security profile.

Purpose

To verify if the Charging Station is able to reject upgrading to a higher security profile when it does not have a valid ChargingStationCertificate installed.

Prerequisite(s)

  • The OCTT connectionData configuration for SUT Charging Station only allows for ip addresses the OCTT is able to bind.
  • The Charging Station support at least 2 security profiles.
  • The Charging Station does not have a valid ChargingStationCertificate installed.
  • The Charging Station has a valid CSMSRootCertificate installed.
  • The second OCTT connectionData configuration slot must be configured for security profile 3.
  • When starting this testcase the OCTT will start another webSocket server for the second connectionData slot.

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. The Charging Station responds with a SetNetworkProfileResponse1. The OCTT sends a SetNetworkProfileRequest with; - configurationSlot is <Configured configurationSlot> or <Configured configurationSlot> depending on which one is already in use; - connectionData.messageTimeout <Configured messageTimeout2>; - connectionData.ocppCsmsUrl <ocppCsmsUrl that is not currently active>; - connectionData.ocppInterface <Configured ocppInterface2>; - connectionData.ocppVersion OCPP20; - connectionData.securityProfile <Configured securityProfile2>
4. The Charging Station responds with a SetVariablesResponse3. The OCTT sends a SetVariablesRequest; with variable.name is "NetworkConfigurationPriority" component.name is "OCPPCommCtrlr" attributeValue is <Configured configurationSlot2>,<Configured configurationSlot>

Tool validations

Step 2:

Message SetNetworkProfileResponse

  • status Accepted

Step 4:

Message SetVariablesResponse

  • setVariableResult[0].attributeStatus Rejected

Post scenario validations

  • N/a