---
title: How to generate CSR for SSL in DirectAdmin
description: "- You first need to login into DirectAdmin control panel using one of the URLs below,  ```  https://IP-address:2222 or https://server-hostname:2222 ``` ![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png) - Go to **Account Manager** and click on **SSL Certificates**. ![](https://truehost.com/support/wp-content/uploads/2024/11/image-288.png) - Then, click on **Create A Certificate Request**. ![](https://truehost.com/support/wp-content/uploads/2024/11/image-289.png) -…"
url: "https://truehost.com/support/knowledge-base/how-to-generate-csr-for-ssl-in-directadmin/"
updated: "2024-11-13"
category: Cloud servers in Kenya
---

# How to generate CSR for SSL in DirectAdmin

- You first need to login into DirectAdmin control panel using one of the URLs below, 

```
 https://IP-address:2222 or https://server-hostname:2222
```

![](https://truehost.com/support/wp-content/uploads/2024/11/image-155.png)

- Go to **Account Manager** and click on **SSL Certificates**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-288.png)

- Then, click on **Create A Certificate Request**.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-289.png)

- Enter the needed information
  - **Country***: Enter the country name.
  - **State**/**Provision**: Enter the State/Provision as per entered Country.
  - **City***: Provide the complete name for the city or locality. Do not use abbreviations.
  - **Company:** Enter company name.
  - **Common Name**: Enter the domain name for which you are purchasing the SSL certificate.
  - **Email**: Enter a contact email address.

![](https://truehost.com/support/wp-content/uploads/2024/11/image-290.png)

- Click on **Save**

![](https://truehost.com/support/wp-content/uploads/2024/11/image-291.png)

- You will see your **CSR code** generated. Copy it and also copy the **Private Key** that is generated alongside it, for later use. You can now use it to generate your SSL certificate, then install it using [these steps](https://truehost.com/support/knowledge-base/how-to-install-an-ssl-certificate-on-directadmin/)
