---
title: "3.3 Public Key Certificate"
space: "Frappe Mpesa Payments"
url: "https://docs.navari.co.ke/frappe-mpesa-payments/reference/33-public-key-certificate"
updated: "2026-05-24"
---

## Mpesa Public Key Certificate

**Purpose:** Stores Safaricom's public key certificates used to encrypt the Initiator Password into the Security Credential for B2C transactions.

![](/files/image878ac0.png)
*Public Key Certificate*


| Field                  | Description                                    |
| ---------------------- | ---------------------------------------------- |
| Sandbox Certificate    | Certificate for the Daraja sandbox environment |
| Production Certificate | Certificate for live production transactions   |


**Notes:**

- This is a Single DocType: there is only one record in the system.
- Certificates are available from the Safaricom Developer Portal.
- Must be populated before B2C disbursements can succeed.

