bg-tutorials

How to Generate a CSR on FileZilla Server

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

We will use the OpenSSL utility. Please, follow the steps below:

Step 1. Log into your FileZilla Server

Log into your FileZilla Server via the SSH (Secure Shell) terminal

Run the following command:

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

Note: Replace the “server” attribute with the actual name of your server.

Step 2. Generate your CSR code and the Private Key

The command will prompt you to enter your contact details. Please, refer to the examples below:

  • Common Name (CN): provide the fully qualified domain name (FQDN) that you want to secure. For example, yourdomain.com. If you have a Wildcard certificate, add an asterisk in front of your domain name. For example, *.yourdomain.com
  • Organization (O): enter the legal name of your organization (e.g., GPI Holding LLG). If you have a Domain Validation (DV) certificate, leave blank instead
  • Organizational Unit (OU): Leave blank (deprecated for public SSL/TLS certificates).
  • Country (C): enter the two-letter code of your country. For instance, US. Here you can find the full list of country codes.
  • City or Locality (L): write the full name of the city. For example, San Jose
  • State or Province (ST): submit the full name of the state. For example, California

Step 3. Get the CSR

After submission, OpenSSL creates:

  • server.key (private key, keep this secure)
  • server.csr (CSR file you will submit)

Next, open the CSR file with any text editor of your choice such as Notepad, and copy its full content including the—–BEGIN CERTIFICATE REQUEST—— and—–END CERTIFICATE REQUEST—– tags, and paste it during your SSL Certificate order.

After you submit the CSR to the CA and complete the validation process, your SSL files will arrive right into your email inbox. You will use them to install your SSL certificate on FileZilla Server.

Save 10% on SSL Certificates when ordering from SSL Dragon today!

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

A detailed image of a dragon in flight
Written by

I've been writing for SSL Dragon for over 10 years, focusing entirely on SSL certificates and digital security. My job is to take complex cybersecurity topics and strip away the jargon, making sure you get the clear, practical information you need to keep your website safe.