> For the complete documentation index, see [llms.txt](https://docs.qyrus.com/api-testing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qyrus.com/api-testing/project-setup/certificate.md).

# Certificates

A certificate in Qyrus API is used for securing communication between the Qyrus client and a server during API requests. Certificates are an integral part of establishing secure connections over HTTPS (Hypertext Transfer Protocol Secure) and are used to authenticate the server's identity and encrypt the data being transmitted.

When you send API requests from Qyrus API to a server using HTTPS, the server presents its digital certificate to prove its identity. Qyrus API Service can verify the authenticity of the certificate by checking whether it's issued by a trusted Certificate Authority (CA) and matches the server's domain.

## Contents

* [Certificates](#certificates)
  * [Get started with Certificates](#get-started-with-certificates)
  * [Editing a Certificate](#editing-a-certificate)
  * [Deleting a Certificate](#deleting-a-certificate)
  * [Adding Certificates as mode of authorization in script](#adding-certificates-as-mode-of-authorization-in-script)
  * [Related topics](#related-topics)

***

## Get started with Certificates:

Step-1: Select a project.

Step-2: Under any Functional, Performance or API Process service, click on **Certificates** button beside Project Setup.

![Alt text](/files/W6NCIp9Kyav3QnaTVWAS)

Step-3: Under Certificates page, there will be a list of all the Certificates or if not we can create as required.

Step-4: Click on **Add Certificate** button.

![Alt text](/files/rk8vfzwwCJKLROhVILpz)

Step-5: On certificate popup window, add the ***pfx*** file.

Step-6: Enter **Domain name**, **Port number** and **Password** for the certificate.

Step-7: Click on **Add Certificate** button in the popup.

![Alt text](/files/IUPQiJc0fo7eDVmaWW21)

Step-8: Created Certificate will display in the list in the certificates page.

***

### Editing a Certificate

Step-1: Within the certificates pages, find the certificate you wish to edit.

Step-2: Click on the certificate's **Edit Certificate** button.

![Alt text](/files/0q0Itn2HNw5PDeyhvwkU)

Step-3: Edit Certificate popup window will be displayed, and perform modifications.

![Alt text](/files/zzC3KaSYPgoCyyHdCSDr)

Step-4: Click on the **Edit Certificate** button.

***

### Deleting a Certificate

Step-1: Within the certificates page, find the certificate you wish to delete.

Step-2: Select the **Delete** button linked with that certificate.

![Alt text](/files/MJLqPSglHTxTDX7lfYd6)

Step-3: Confirm the deletion clicking **Yes**.

![Alt text](/files/ntl8PC0jiXPt551HILcr)

***

## Adding Certificates as mode of authorization in script:

Step-1: Create API in the Test suite and navigate to the **Authorization & Certificate** tab.

![Result Page](/files/PBhUWrN7gb3APw68yzRw)

Step-2: Certificates should display in the **Select Certificate** dropdown.

![Result Page](/files/J7aPpHFCN6huj2CXhKvV)

Step-3: Select the added **certificate** from the dropdown, enter all mandatory fields and click on **Save** button & **Run**.

Note:

* If there are certificates in respective project, Authorization & Certificates tab will be enabled and User can add the certificates as mode of authorization for the API’s.

***

### Related topics

* [Prequesuite API's & Dynamic Variables](/api-testing/project-setup/pre-requisite-api.md)
* [Database Configuration](/api-testing/project-setup/database-configuration.md)
* [Global & Environment](/api-testing/project-setup/global-and-environment.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.qyrus.com/api-testing/project-setup/certificate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
