Skip to content
+91-7795206615
|
info@habilelabs.io

  • Home
  • About
  • Services
    • Custom Application Development
    • UI/UX Designing
    • Web Application Development
    • Offshore Product Services
    • Technical Outsourcing
    • ERP Services
  • Company
    • Careers
    • Case Studies
  • Specialization
    • Frontend Frameworks
      • Angular
      • ReactJS
      • VueJS
      • HTML / CSS
      • Javascript /Jquery
      • Bootstrap
      • Material design
    • Backend Frameworks
      • NodeJS
      • Meteor
      • GraphQL
      • Loopback
      • Salesforce
      • Spring Boot
      • Odoo
      • Laravel
    • Database / ORM
      • MySQL
      • PostgreSQL
      • Oracle
      • MongoDB
      • Google Firebase
      • Mongoose
      • Sequelize
      • Hibernate / JPA
    • Languages
      • Java Script
      • Dot Net
      • Java
      • Python
      • C / C++
      • PHP
      • AI / ML
      • Type Script
    • Mobile Frameworks
      • Ionic
      • Native Script
      • Native Android App
      • Native iOS App
      • Google Flutter
      • React Native
  • Blog
  • Hire Us

How to install free ssl certificates on nginx on Ubuntu 14.04

Categories

  • Angular
  • Business Strategies
  • Cloud Services
  • CRM
  • Design Pattern
  • E-commerce
  • ERP Applications
  • Javascript
  • Meteor
  • Mobile development
  • Mongo DB
  • Node JS
  • Odoo
  • Our Partners
  • PHP
  • React
  • SAAS
  • Salesforce
  • SAP
  • Selenium
  • Tech stack Migration
  • Testing
  • UI-UX Design
  • Uncategorized
  • VAPT
  • Visualforce
  • Web Development
  • Web Security

Categories

  • Angular
  • Business Strategies
  • Cloud Services
  • CRM
  • Design Pattern
  • E-commerce
  • ERP Applications
  • Javascript
  • Meteor
  • Mobile development
  • Mongo DB
  • Node JS
  • Odoo
  • Our Partners
  • PHP
  • React
  • SAAS
  • Salesforce
  • SAP
  • Selenium
  • Tech stack Migration
  • Testing
  • UI-UX Design
  • Uncategorized
  • VAPT
  • Visualforce
  • Web Development
  • Web Security
How to install free ssl certificates on nginx on Ubuntu

Install free SSL certificates on Nginx:

Buying SSL certificates cost between 10$ to 200$ for a year. We can avoid this. We can use free SSL certificates from letsencrypt. Let’s Encrypt is a free, automated, and open Certificate Authority. Even it is free still it is really safe. It is sponsored by many big companies. See the sponsor list here.

 

 

How to install SSL on Nginx on Ubuntu 14.04:

Install
On Ubuntu systems, the Certbot team maintains a PPA. Once you add it to your list of repositories all you’ll need to do is apt-get the following packages.

 

1
2
3
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot

 

Get Started
Certbot supports a number of different “plugins” that can be used to obtain and/or install SSL certificates.

Since your server architecture doesn’t yet support automatic installation you should probably use the certonly command to obtain your certificate.

certbot certonly
This will allow you interactively select the plugin and options used to obtain your free SSL certificate. If you already have a web server running, we recommend choosing the “webroot” plugin.

Alternatively, you can specify more information on the command line.

To obtain a cert using the “webroot” plugin, which can work with the webroot directory of any web server software:

 

1
$ certbot certonly --webroot -w /var/www/example -d example.com -d www.example.com -w /var/www/thing -d thing.is -d m.thing.is

 

This command will obtain a single cert for example.com, www.example.com, thing.is, and m.thing.is; it will place files below /var/www/example to prove control of the first two domains, and under /var/www/thing for the second pair.

Note:
To use the webroot plugin, your server must be configured to serve files from hidden directories. If /.well-known is treated specially by your web server configuration, you might need to modify the configuration to ensure that files inside /.well-known/acme-challenge are served by the web server.

To obtain a cert using a built-in “standalone” web server (you may need to temporarily stop your existing web server if any) for example.com and www.example.com:

1
$ certbot certonly --standalone -d example.com -d www.example.com

 

Automating renewal

The Certbot packages on your system come with a cron job that will renew your certificates automatically before they expire. Since Let’s Encrypt certificates last for 90 days, it’s highly advisable to take advantage of this feature. You can test automatic renewal for your free SSL certificates by running this command:

 

1
certbot renew --dry-run

More detailed information and options about renewal can be found in the full documentation.

We hope you enjoy this post, comment in the box if you have any query. We are best mobile app development and web development company.

Share with your friends if you enjoy this post.

Posted bymorwal89April 2, 2017January 6, 2020Posted inTech stack Migration, Web DevelopmentTags: https, nginx, ssl, ssl certificate

Post navigation


:

Join the Conversation

2 Comments

  1. Rohan says:
    April 17, 2017 at 11:41 am

    i’m for the first time here. I came across this board and I in finding
    It really helpful & it helped me out a lot.

    Reply
  2. reference says:
    January 3, 2018 at 9:39 pm

    I just want to say I’m a newbie to blogging and seriously enjoyed you’re web page. Most likely I’m going to bookmark your blog. You certainly come with outstanding articles and reviews. With thanks for revealing your website.

    Reply
Leave a comment

Cancel reply

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

Leave a comment

Recent Posts

  • Cross-Database with Association in Postgres with Sequelize

    Cross-Database with Association in Postgres with Sequelize

  • How can You Improve Your Communication Skills – Effective Tips

    How can You Improve Your Communication Skills – Effective Tips

  • 5 Reasons that Make CRM Software Beneficial for Every Business

    5 Reasons that Make CRM Software Beneficial for Every Business

  • Do Low-Code Solutions have a Future in Web Development?

    Do Low-Code Solutions have a Future in Web Development?

  • A Revenue Management Reset in Consumer Goods

    A Revenue Management Reset in Consumer Goods

  • “Empowering your right-side brain” – Increasing Creativity

    “Empowering your right-side brain” – Increasing Creativity

Talk to our experts now

Have a project or looking for development team? Contact us.

Get a quote

About Us

Habilelabs Private Limited is the ISO 9001:2015 certified IT company, which has marked its flagship in 20+ countries with 100+ projects successfully

Company

  • About
  • Blog
  • Careers
  • Hire Us
  • Privacy Policy

Contact Us

  • +91-9828247415
  • +91-9887992695
  • info@habilelabs.io

Follow Us

Office

  • Habilelabs Private Limited
    4th Floor, I.G.M. School Campus,
    Sec-93 Agarwal Farm, Mansarovar,
    Jaipur, Rajasthan India
    Pin:302020