Skip to content
Documentation Menu

TC_B_50_CS — Migrate to new ConnectionProfile - Success - New CSMS Root - New CSMS

TC_B_50_CS — Migrate to new ConnectionProfile - Success - New CSMS Root - New CSMS

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

Identification

FieldValue
Test case nameMigrate to new ConnectionProfile - Success - New CSMS Root - New CSMS
Test case IdTC_B_50_CS
Use case Id(s)B10,M05
Requirement(s)M05.FR.13
System under testCharging Station
Functional blockB. Provisioning

Description

The CSMS updates the connection details on the Charging Station. For instance in preparation of a migration to a new CSMS.

Purpose

To verify if the Charging Station is able to correctly handle migrating to the new CSMS using a new CSMS Root certificate to validate the server certificate.

Prerequisite(s)

  • The Charging Station supports AS-2: AdditionalRootCertificateCheck.
  • Configured (new) CSMS Root certificate 2 must be signed by the configured (old) CSMS Root certificate 2.
  • At least two configuration slots for networkConnectionProfiles must be supported

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • CertificateInstalled for certificateType CSMSRootCertificate and certificate <Configured (new) CSMS Root certificate 2>

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>
6. The Charging Station responds with a ResetResponse5. The OCTT sends a ResetRequest; with type OnIdle
7. The Charging Station connects to the configured alternative internal OCTT endpoint.; Note(s):; - During the TLS handshake the Charging Station validates and accepts the CSMS certificate, signed by the <Configured (new) CSMS Root certificate 2>.8. The connection attempt is accepted by the OCTT.
9. Execute Reusable State Booted
11. The Charging Station responds with a GetInstalledCertificateIdsResponse10. The OCTT sends a GetInstalledCertificateIdsRequest; with certificateType is CSMSRootCertificate

Tool validations

Step 6:

Message ResetResponse

  • status Accepted

Step 11:

Message: GetInstalledCertificateIdsResponse

  • status must be Accepted
  • certificateHashDataChain must NOT contain an entry with following values:
  • certificateType is CSMSRootCertificate
  • certificateHashData contains <HashData from configured old CSMS Root certificate> NOTE: The Charging Station dropped the (old) fallback certificate, because it was able to connect using the (new) Root certificate.

Post scenario validations

  • N/a