How to Generate a CSR on 4D server?
In this tutorial, we will show you how to generate a CSR on 4D server.
You can generate the CSR in different ways, but the quickest and easiest one is to use our CSR generator tool. It’s user-friendly and doesn’t require any technical knowledge.
Another option is to use the OpenSSL utility. If you’re familiar with SSH and command lines, you can create your CSR via OpenSSL. Please note that you may need to download the utility for Windows or macOS.
Here’s how to generate your CSR with OpenSSL:
Navigate to a directory in which you will store the documents. For example, you might create a folder on your Desktop named SSL certificate and navigate there.
Run the following command:
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
You’ll be prompted to enter your contact details. Please use the examples below:
- Country Name (2 letter code): enter the official two-letter code of your country. For instance, US.
- State or Province Name: enter the full name of the state where your company is registered. For example, Tennessee.
- Locality Name: enter the full name of the city where your company is located. For instance, Nashville.
- Organization Name: enter the full legal name of your organization. For example, Your Company LLC.
- Organizational Unit Name: enter the department in charge of your SSL Certificate. For example, IT.
- Common Name: provide the FQDN (fully-qualified domain name) you want to secure. For example, yourdomain.com.
The OpenSSL utility will generate your CSR and private key files. The private key file is necessary for the decryption of your SSL certificate. You’ll need to open your CSR file with a text editor and copy its contents into the corresponding box during the SSL order process.
You can also create the CSR code within the 4D system by using specific commands such as Generate Encryption Keypair and Generate Certificate Request. For more information, please refer to the official 4D documentation.