Skip to content
Documentation Menu

TC_M_20_CS — Delete a certificate from a Charging Station - Success

TC_M_20_CS — Delete a certificate from a Charging Station - Success

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

Identification

FieldValue
Test case nameDelete a certificate from a Charging Station - Success
Test case IdTC_M_20_CS
Use case Id(s)M04
Requirement(s)M04.FR.01,M04.FR.02
System under testCharging Station
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 the Charging Station is able to delete an installed certificate.

Prerequisite(s)

N/a

Before (Preparations)

Configuration State:

  • N/a

Memory State:

  • N/a

Reusable State(s):

  • GetInstalledCertificates with certificateType CSMSRootCertificate CertificateInstalled with certificateType CSMSRootCertificate (When no certificate is returned at GetInstalledCertificates)

Main (Test scenario)

Charging StationCSMS
1. Execute Reusable State GetInstalledCertificates with certificateType CSMSRootCertificate
3. The Charging Station responds with a DeleteCertificateResponse2. The OCTT sends a DeleteCertificateRequest; with certificateHashData contains <Returned certificateHashData at step 1>
4. Execute Reusable State GetInstalledCertificates with certificateType CSMSRootCertificate

Tool validations

Step 1:

  • Certificate that is going to be deleted is present.

Step 3:

Message: DeleteCertificateResponse

  • status must be Accepted

Step 4:

  • Certificate that should be deleted is not present anymore.

Post scenario validations

  • N/a