Skip to content
StuntCharger

Security Profile 3 mutual TLS, tested end to end.

In Security Profile 3 the charging station proves its identity with a client certificate. Here is how to test your CSMS's side of that handshake with StuntCharger.

Set it up

  1. 1

    Issue a station certificate

    Sign a certificate for the station with the CA your CSMS trusts. Many CSMSs check the subject: the CN usually has to contain the charge point id or serial number, and some check the O field against the operator name.
  2. 2

    Open the connection settings

    In the simulator, set the CSMS URL to wss://, enter the charge point id, and choose security profile 3: TLS + client certificate.
  3. 3

    Paste the certificates

    Add the client certificate and its private key in PEM form. If your CSMS uses a private CA, paste that CA certificate too so the station can verify the server.
  4. 4

    Allowlist the relay

    The relay presents your certificate from 209.71.123.60 or 2a09:8280:e612:1:0:231:1bf4:0. Add both if your CSMS filters by source address.
  5. 5

    Connect and check the negative cases

    A missing certificate, a certificate from another CA and a wrong CN should all be refused. Your CSMS should refuse during the TLS handshake or with HTTP 401, before any OCPP frame.

Generate a test CA with OpenSSL

shell
openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes -days 365 \
  -keyout ca.key -out ca.pem -subj "/CN=Test CSMS CA"
openssl req -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes \
  -keyout station.key -out station.csr -subj "/O=MyCPO/CN=CS-0042"
openssl x509 -req -in station.csr -CA ca.pem -CAkey ca.key -CAcreateserial -days 365 -out station.pem

Configure your CSMS to trust ca.pem, then paste station.pem and station.key into the simulator. Use this for test environments only.

What we have checked

Positive and negative SP2 and SP3 cases, tested against SteVe and CitrineOS in our interop harness, all pass.

See the security profile results. mTLS through the hosted relay is part of the Team plan and above.

Point a simulated charger at your CSMS.

The free plan runs every OCPP version in your browser. No hardware, no install.