How to Generate a CSR on Proxmox

In this tutorial, we will show you how to generate a CSR on Proxmox.

Since Proxmox Virtual Environment is based on Debian, we’ll create the CSR code using the SSH (secure shell) and OpenSSL utility which comes pre-installed on your server. Please follow the steps below:

Step 1: Create the CSR and private key

At the prompt, run the following command to create the CSR and private key:

openssl req -new -newkey rsa:2048 -nodes -keyout mywebsite.key -out mywebsite.csr

Note: Replace mywebsite attribute with your actual domain name.

Step 2: Provide the required information about your domain and company

  • Country Name: type the official two-letter code of your country. For example, US.
  • State or Province: write the full name of the state or province where your company is officially registered. For example, Alabama.
  • City or Locality: enter the full name of the city where your company is located. For instance, Mobile.
  • Organization Name: specify the full legal name of your company. For example, Your Company LLC.
  • Organizational Unit Name: type the name of the department requesting the SSL certificate. For instance, IT or Web Administration.
  • Common Name: enter the FQDN (fully-qualified domain name) you want to secure. For example, yoursite.com. If you have a Wildcard certificate, add an asterisk in front of the domain (e.g., *.yoursite.com).
  • Email address: provide a valid email address.
  • A challenge password: this field is optional you can leave it blank.
  • An optional company name: you can leave this field blank.

That’s it! The OpenSSL utility will now create your CSR code along with the private key. To locate the newly generated files, use the ls command.

You can open the CSR file with any text editor of your choice such as Notepad. During the SSL order process, you’ll have to copy the entire CSR contents, including the BEGIN CERTIFICATE and END CERTIFICATE tags into the corresponding box, on your SSL vendor’s website.

After your CA validates the CSR and issues the SSL certificate, you can proceed to the Proxmox SSL installation instructions.

Save 10% on SSL Certificates when ordering today!

Fast issuance, strong encryption, 99.99% browser trust, dedicated support, and 25-day money-back guarantee. Coupon code: SAVE10

Written by

Experienced content writer specializing in SSL Certificates. Transforming intricate cybersecurity topics into clear, engaging content. Contribute to improving digital security through impactful narratives.