---
title: "ListCertificates"
method: GET
path: "/v2/pki/{store}/certs"
tags: ["Certificates"]
---

# ListCertificates

`GET /v2/pki/{store}/certs`

Get the certificates in the specified certificate store

## Path parameters

- `store` string, required

## Response `200`

The operation was successful.

- X509CertificateModel[]
  - `subject` string — Subject
  - `thumbprint` string — Thumbprint
  - `serialNumber` string — Serial number
  - `notBeforeUtc` string, date-time — Not before validity
  - `notAfterUtc` string, date-time — Not after validity
  - `selfSigned` boolean — Self signed certificate
  - `pfx` integer[] — Certificate as Pkcs12
  - `hasPrivateKey` boolean — Contains private key

## Other responses

- `400` — The passed in information such as store name is invalid
- `404` — Nothing could be found.
- `500` — An internal error ocurred.

---

[API](https://skmtc.net/azure/apis/opcpublisher.md) · [All operations](https://skmtc.net/azure/apis/opcpublisher/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/opcpublisher/revisions/8eac19a554d6/schema)
