Category Archives: Nginx

Install COMODO Postive SSL certificate on Ubuntu

Comodo offers a wide range of SSL certificates to suit a diverse range of business requirements and budgets.

Follow below steps to install comodo positive ssl certificate on your ubuntu server.

Step 1 –  Before applying for a certificate we need to submit Certificate Signing Request (CSR)  to Certificate Authority (CA). Run below command on your server

* replace example_com with your domain name if you want to

It will ask following details

  • Organization Name
  • Organizational Unit
  • Country Code
  • State / Province
  • Locality
  • Common Name – This is the domain name for which you want to purchase SSL certificate

After providing above mentioned details this command will create two files

  • example_com.key – Your private key which you need to configure Apache or Nginx
  • example_com.csr – CSR

Step 2 – Apply for the certificate and provide content of CSR file

Step 3 – After submitting CSR, CA will send you an email on email selected by you. You should get your SSL certificate after verifying your domain.

Your certificate zip file will contain

example_com.crt  – Your ssl certificate
AddTrustExternalCARoot.crt – Root CA certificate
COMODORSAAddTrustCA.crt  – Intermediate CA certificate
COMODORSADomainValidationSecureServerCA.crt  – Intermediate CA certificate

Step 4 – Create a bundle of all crt files

Step 5 – Configuring Apache web server to serve website over HTTPS

Step 6 (Optional) – Configure Nginx to serve website over HTTPS