# Client certificates (mutual TLS)

Source: https://timetick.io/docs/security/certificates

Connect OCPP charger simulators to your CSMS with a client certificate, security profile 3, and test certificate signing the way a real charger does it.

With security profile 3, a charger proves who it is with a client certificate. A simulator gets one like a real charger does: your CSMS signs it.

## Get a certificate

1. Connect the simulator to your CSMS without a certificate, for example [with a password](https://timetick.io/docs/security/basic-auth).
2. Add the **Sign Certificate** step to a [test](https://timetick.io/docs/tests/build-a-test) and run it on the simulator.
3. Your CSMS signs the request and sends the certificate back. Keep the simulator on until then, for example with a Wait step.
4. Check **Security Profiles** on the simulator's **Details** tab.

## Switch to profile 3

On the **Configs** tab, set `SecurityProfile` to `3`. On OCPP 2.0.1 and 2.1 it is in `SecurityCtrlr`. If the form refuses the value, raise its **Max limit**.

Your CSMS needs a `wss://` address with a publicly trusted certificate.
