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, type NA instead
- Organizational Unit (OU): type the name of the department in charge of the SSL certificate. Usually, it is IT or Web Administration. If you’re not sure or have a DV cert, type NA instead
- 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
Once you’ve entered all the details, the OpenSSL utility will generate your CSR file, titled OpenSSL.csr
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.