Skip to content
Documentation Menu

TC_M_21_CSMS — Delete a certificate from a Charging Station - Failed

TC_M_21_CSMS — Delete a certificate from a Charging Station - Failed

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

Identification

FieldValue
Test case nameDelete a certificate from a Charging Station - Failed
Test case IdTC_M_21_CSMS
Use case Id(s)M04
Requirement(s)M04.FR.01,M04.FR.07
System under testCSMS
Functional blockM. ISO 15118 CertificateManagement

Description

The CSMS is able to request the Charging Station to delete an installed certificate using the DeleteCertificateRequest message.

Purpose

To verify if CSMS is able to handle a Charging Station that fails to delete an installed certificate.

Prerequisite(s)

N/a

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • CertificateInstalled with certificateType CSMSRootCertificate.

Main (Test scenario)

Charging StationCSMS
Manual Action: Request the CSMS to send a DeleteCertificateRequest.
2. The OCTT responds with a GetInstalledCertificateIdsResponse; With status is Accepted certificateHashDataChain contains an entry with following values: certificateHashDataChain[0].certificateType is CSMSRootCertificate certificateHashDataChain[0].certificateHashData.ha shAlgorithm is SHA2561. The CSMS sends a GetInstalledCertificateIdsRequest
4. The OCTT responds with a DeleteCertificateResponse; With status is Failed3. The CSMS sends a DeleteCertificateRequest

Tool validations

Step 1:

Message: GetInstalledCertificateIdsRequest

  • certificateType contains CSMSRootCertificate OR is omitted.

Step 3:

Message: DeleteCertificateRequest

  • certificateHashData contains <Returned certificateHashData at Step 2>.

Post scenario validations

  • N/a