# How to Generate a Certificate Signing Request - CSR in cPanel

Obtaining a certificate from a trusted SSL provider requires a Certificate Signing Request (CSR). This process is also necessary for generating self-signed SSL certificates.

* Log in to your **cPanel account**.
* In the **Security** section, click on **SSL/TLS**.
* Under **Certificate Signing Request**, click on **Generate, View or Delete CSR**.

<figure><img src="/files/mopL0JP38viSruT6Nxas" alt=""><figcaption></figcaption></figure>

* Scroll down and enter the following details:

  * **Domains**: Enter your domain name, such as `www.example.com` (this covers both non-www and www domains).
  * **City**: Your city name.
  * **State**: Your state name.
  * **Country**: Choose your country from the dropdown menu.
  * **Company**: Your company name or leave it blank.
  * **Company Division**: Name of your company division.
  * **Email**: Enter your email address.
  * **Passphrase**: Enter a passphrase (maximum 20 characters) without special characters.

  <figure><img src="/files/IkO6rBDhhTCt8nLfYEHP" alt=""><figcaption></figcaption></figure>
* Finally, click on **Generate**. Copy the generated CSR code and save it to your computer. You can use this CSR when purchasing or reissuing an SSL certificate in the future.

<figure><img src="/files/3OuavcgvAt3kcxqwx3SJ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Remember to keep your CSR code secure. It contains sensitive information about your domain and organization.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.clouduxe.com/ssl/how-to-generate-a-certificate-signing-request-csr-in-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
