Creating SSL Certificates Using Open Source Technologies

Posted By Mohit Shakya | 31-Jan-2018

Hi Friends,
This time I'm going to tell you about creation of ssl certificates using openssl technology.

I need to give you a brief on 'OpenSSL' first.

OpenSSL is a software library for applications that provides secure communication via computer networks against interception or to identify the party on the other side. It is widely used in internet web servers that serve a majority of all websites.

It Includes Open Source SSL and TLS protocol. The main library, written in C, performs basic encryption functions and offers various applications. You can use other computer languages to access the shell of the OpenSSL library.

For this we'll use certbot tool (for Linux users).
You have to check for correct tool version according to your Linux flavour configuration from here 'https://certbot.eff.org'.

For instance, If you've to create ssl certificate for 'nginx' and 'ubuntu 17.04'.

Following will be steps:

$ sudo apt-get update

$ sudo apt-get install -y software-properties-common

$ sudo add-apt-repository ppa:certbot/certbot

This is the PPA for packages prepared by Debian Let's Encrypt Team and backported for Ubuntu(s).
 More info: https://launchpad.net/~certbot/+archive/ubuntu/certbot
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpu4eanyof/secring.gpg' created
gpg: keyring `/tmp/tmpu4eanyof/pubring.gpg' created
gpg: requesting key 75BCA694 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpu4eanyof/trustdb.gpg: trustdb created
gpg: key 75BCA694: public key "Launchpad PPA for certbot" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)


$ sudo apt-get update

$ sudo apt-get install -y python-certbot-nginx

This will ask you for email-id, provide that.
After this accept terms and condition on prompt.
Than this will show the list of your domain names configured,
select one to generate certificates.

I hope this'll be helpful for you.
Thank You.

 

Request for Proposal

Recaptcha is required.

Sending message..