---
title: "Operations: Server: How to Get Certificates"
url: "https://docs.ravendb.net/6.2/client-api/operations/server-wide/certificates/get-certificates"
version: "6.2"
language: "csharp"
---

# Operations: Server: How to Get Certificates

> Client language: C#. Also available for [Java](https://docs.ravendb.net/6.2/client-api/operations/server-wide/certificates/get-certificates.java.md).
>
> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

To get client certificates use **GetCertificatesOperation**.

## Syntax

```csharp
public GetCertificatesOperation(int start, int pageSize)
```

| Parameters | | |
| - | - | - |
| **pageSize** | int | Maximum number of records that will be downloaded |
| **start** | int | Number of records that should be skipped |

| Return Value | |
| - | - |
| `CertificateDefinition[]` | Array of certificate definitions |

## Example

```csharp
CertificateDefinition[] definitions = 
  store.Maintenance.Server.Send(new GetCertificatesOperation(0, 20));
```
