> For the complete documentation index, see [llms.txt](https://docs.clouduxe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clouduxe.com/ssl/how-to-generate-a-certificate-signing-request-csr-in-cpanel.md).

# 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 %}
