> 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)
