Skip to content
Documentation Menu

TC_M_18_CS — Retrieve certificates from Charging Station - All certificateTypes

TC_M_18_CS — Retrieve certificates from Charging Station - All certificateTypes

Source: OCPP 2.0.1 Part 6 — Test Cases (Core & Advanced Security, FINAL, 2023-06-30) — Functional block M. ISO 15118 CertificateManagement, page 280.

Identification

FieldValue
Test case nameRetrieve certificates from Charging Station - All certificateTypes
Test case IdTC_M_18_CS
Use case Id(s)M03
Requirement(s)M03.FR.01,M03.FR.03,M03.FR.04
System under testCharging Station
Functional blockM. ISO 15118 CertificateManagement

Description

The CSMS is able to retrieve the certificates installed at the Charging Station using the GetInstalledCertificateIdsRequest message.

Purpose

To verify if the Charging Station is able to provide the hashData from all stored certificates

Prerequisite(s)

N/a

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • CertificateInstalled from certificateType CSMSRootCertificate CertificateInstalled from certificateType ManufacturerRootCertificate

Reusable State(s):

  • N/a

Main (Test scenario)

Charging StationCSMS
2. The Charging Station responds with a GetInstalledCertificateIdsResponse1. The OCTT sends a GetInstalledCertificateIdsRequest; With certificateType is omitted.

Tool validations

Step 2:

Message: GetInstalledCertificateIdsResponse

  • status must be Accepted
  • certificateHashDataChain must contain the following two entries with following values: Note: Order does not matter. Entry 1:
  • certificateHashDataChain[0].certificateType is CSMSRootCertificate
  • certificateHashDataChain[0].certificateHashData contains <HashData from configured new CSMS Root certificate> Entry 2:
  • certificateHashDataChain[1].certificateType is ManufacturerRootCertificate
  • certificateHashDataChain[1].certificateHashData contains <HashData from configured new Manufacturer Root certificate>

Post scenario validations

  • N/a