Setup Comodo Positive Ssl Nginx

Setup Comodo Positive SSL Nginx

Introduction to Comodo Positive SSL

Comodo Positive SSL is an encrypted certificate issued by Comodo, a leading provider of security certificates. It helps to make your website more secure by encrypting communications between your visitors and your website, making it virtually impossible for third parties to intercept or collect sensitive data. With Positive SSL, you can count on state of the art technology to help protect your customers’ confidential information.

Once you have your Comodo Positive SSL certificate, you will need to install it on your web server to get the full benefits of encryption. In this tutorial, we’ll show you how to install the certificate on an Nginx server.

Prerequisites for Installation

Before you begin the installation process, you will need to prepare your server for the installation of the certificate. This includes:

  • Obtain the Comodo Positive SSL certificate
  • Install Nginx
  • Ensure that the server is reachable from the public internet

Once the server is ready, you can proceed with the installation.

Step 1 – Install the Certificate and Intermediate Certificates

The first step in installing your Comodo Positive SSL certificate is to install the certificate and the intermediate certificates. These certificates will be sent to you after you have purchased and completed the validation process for a Comodo Posiitive SSL certificate.

The files you need to install should be within the .zip file received from Comodo. You will need to upload the following files onto the server where Nginx is installed:

  • Your Comodo Positive SSL primary certificate, sent as a .crt file.
  • The intermediate certificates, sent as .crt files.

Once all of the files have been uploaded to the server, you will need to add the certificate, the certificates, and the private key to the Nginx configuration file. The configuration file is typically located at /etc/nginx/nginx.conf.

Add the following lines to the server section of the Nginx configuration, substituting the name of the certificates and key with the name of the files that you uploaded:

ssl_certificate /pathto/yourcertificate.crt;
ssl_certificate_key /pathto/yourprivatekey.key;
ssl_trusted_certificate /pathto/intermediate_crt_1.crt;
ssl_trusted_certificate /pathto/intermediate_crt_2.crt;
ssl_trusted_certificate /pathto/intermediate_crt_3.crt;

Once you have added the lines, you can save and exit the configuration file.

Step 2 – Test your Configuration

Before you can use the Comodo Positive SSL certificate, you need to make sure that the Nginx configuration is valid. To test your configuration, you can use the Nginx syntax checker by running the following command:

nginx -t

If the configuration is valid, you will see a success message. If there are any errors, you will need to fix them before continuing.

Step 3 –Restart Nginx

Once the configuration has been validated, you can restart Nginx to apply the new settings. To do this, run the following command:

systemctl restart nginx

Step 4 – Test the Certificate Installation

Once you have restarted Nginx, you should test the installation of your Comodo Positive SSL certificate. To do this, you will need to use a tool such as DigiCert SSL Tools or SSL Shopper SSL Checker . These tools allow you to check the installation of the certificate, including validation of the intermediate certificates.


Congratulations! You have successfully installed your Comodo Positive SSL certificate on your Nginx web server. Now you can enjoy secure communications with your visitors and customers, knowing that their data is protected.


Q: How can I purchase a Comodo Positive SSL certificate?

A: You can purchase a Comodo Positive SSL certificate from Comodo or one of their resellers. Comodo offers several types of certificates and their prices vary depending on the type.

Q: Is the installation of a Comodo Positive SSL certificate difficult?

A: No. The installation of a Comodo Positive SSL certificate is relatively simple and should only take a few minutes. You will need to install the primary certificate, the intermediate certificates, and the private key. Once this is done, you need to test the configuration before restarting the web server.

Q: What kind of encryption does Comodo Positive SSL provide?

A: Comodo Positive SSL provides up to 256-bit encryption. This is the highest level of encryption available and provides the best protection for your visitors’ data.

Thank you for reading this article. Please read other articles for more information.

Leave a Reply

Your email address will not be published. Required fields are marked *