Skip to content
Documentation Menu

TC_A_20_CS — Upgrade Charging Station Security Profile - No valid CSMSRootCertificate installed

TC_A_20_CS — Upgrade Charging Station Security Profile - No valid CSMSRootCertificate installed

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

Identification

FieldValue
Test case nameUpgrade Charging Station Security Profile - No valid CSMSRootCertificate installed
Test case IdTC_A_20_CS
Use case Id(s)A05
Requirement(s)A05.FR.02
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 CSMSRootCertificate 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, one of which is security profile 1.
  • The Charging Station does not have a valid CSMSRootCertificate installed.
  • The first OCTT connectionData configuration slot must be configured for security profile 1.
  • The second OCTT connectionData configuration slot must be configured for security profile 2 or 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