SignCertificate

Sends a certificate signing request so the CSMS can return a signed certificate.

Version
OCPP 2.0.1
Direction
Charge Point → CSMS
Functional block
Security

The station generates a key pair, keeps the private key, and sends the CSR here. The signed certificate comes back later in a CertificateSigned message, not in this response.

This is how a station rotates its own identity certificate without anyone visiting it.

Request

FieldTypeRequiredDescription
csrstringRequiredPEM-encoded certificate signing request.
certificateTypeCertificateSigningUseEnumTypeOptionalChargingStationCertificate or V2GCertificate.
json
[2, "19223201", "SignCertificate", {
  "certificateType": "ChargingStationCertificate",
  "csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIB...\n-----END CERTIFICATE REQUEST-----"
}]

Response

FieldTypeRequiredDescription
statusGenericStatusEnumTypeRequiredAccepted or Rejected.
statusInfoStatusInfoTypeOptionalReason code.
json
[3, "19223201", {
  "status": "Accepted"
}]

Implementation notes

`Accepted` means the CSR was received, not that a certificate exists. The certificate arrives in a subsequent CertificateSigned request from the CSMS.

A station whose certificate is close to expiry should start this well ahead of time — a failed rotation leaves it unable to connect at all.