> For the complete documentation index, see [llms.txt](https://docs.emudhradigital.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emudhradigital.com/api-reference/remote-key-storage-api/rks-certificate-enrolment.md).

# RKS Certificate Enrolment

## Request (ASP → eMudhra, browser form POST)

| Parameter       | Value                                            |
| --------------- | ------------------------------------------------ |
| Content type    | `application/x-www-form-urlencoded`              |
| `txnreq`        | Base64(`transactionId` + \`                      |
| `transactionId` | Alphanumeric, ≤ 50 chars, unique per ASP per day |

## Response (eMudhra → ASP redirection URL)

| Parameter | Value                                         |
| --------- | --------------------------------------------- |
| `txnresp` | Base64(`transactionId` + \`                   |
| `status`  | `1` success · `0` failure                     |
| `data`    | Username on success; error message on failure |

During enrolment the subscriber completes eKYC two-factor authentication, sets a 6-character AuthPIN, and the key pair and CSR are generated inside the HSM before the CA issues the certificate.
