In this blog we will setup the keycloak instance with ssl encryption.


A running keycloak instance,

SSL certificates

NOTE: KEYCLOAK SETUP, follow the below mention links.

Keycloak Setup. Keycloak is an Open Source Identity and… | by Dheeraj kumar | Medium

Note: If you don’t have third party certificates, then you can generate one , self signed certificates by following the below mentioned blog or you can simply use these openssl commands.

#Create self-signed certificate


The process of accessing the INTERNAL server through a public server or local system is known as SSH TUNNELLING: REMOTE FORWARDING

These are some configurations that need to be changed on both the server and client-side.

On Server Side ( Internal VM ):

Change these variables in this file : FILE=/etc/ssh/sshd_config

AllowTcpForwarding remote

GatewayPorts yes

2. Save it and run this command to restart your ssh service.

sudo systemctl restart ssh

3. RUN this command to create a ssh tunnel.

nohup ssh -nNv -R 8002:localhost:22 &

Command breakup :

nohup, & : to run this process in background


For applications that runs inside of an intranet, a self-signed web certificate is not enough since it cannot be validated by against any CA (Certification Authority). For this we need to create our own root CA, installing it in each pc, and sign the web certificate with it.

Let’s see how can we achieve this:

Creating the Root CA:

Step 1. Create a root key:

Step 2. Create and self sign a root certificate:

Now,Install the root certificate in each of the…

Some ports generate an error (ERR_UNSAFE_PORT) when browsing to them via Chrome (see this related question).

if you are getting the above mentioned error in your application/services, then try changing the port.

These are the list of restricted ports on chrome.

In this blog, we will learn about how to setup a docker private registry and setup authentication as well through docker.

Run this Dockerfile to create your registry image and run it.

Command to build & run the registry image:

Api’s to query the Docker images stored in the registry.

List all repositories (effectively images):

List all tags for a repository:

Expand the volume within the OS using diskpart utility

When you have expanded the disk for the VM, you need to go into the OS and expand the volume to encompass the new space. There are several methods for expanding a partition. This section covers connecting the VM using an RDP connection to expand the partition using DiskPart.

  1. Open an RDP connection to your VM.
  2. Open a command prompt and type diskpart.
  3. At the DISKPART prompt, type list volume. Make note of the volume you want to extend.
  4. At the DISKPART prompt, type select volume <volumenumber>. This selects the volume volumenumber that you want to extend into contiguous, empty space on the same disk. Ex: select volume 1
  5. At the DISKPART prompt, type extend [size=<size>]. This extends the selected volume by size in megabytes (MB).Ex: extend size=125000

What is Linux?

Linux is an open source and most used operating system created in 1991 by Linus Torvalds. It is widely used in the software industry for developing and maintaining highly robust application. It offers security, privacy, task automation, system updates and it is developer friendly in nature. It has pre installed tools and binaries that helps in the various phases of SDLC.

The benefits of using Linux

It offers a free operating system. You do not have to spend hundreds of dollars to get the OS like Windows!

  • Being open-source, anyone with programming knowledge can modify it.
  • The Linux operating systems now offer millions of programs/applications…

These are steps to change your http routes to https.

Step1. Go to this url and download the zip installer from here ( nginx: download ) and unzip it.

Step 2. Generate the certificate for your machine. Take reference from here.

Step 3. Copy your certsin your windows machine, if created from another machine and paste it on the nginx folder (root location).

Step 4. Update your ~/nginx/conf/nginx.conf file with this one. Replace localhost with your dns name and proxy_pass url with your local base url on which your application is working.

This post will describe an easy way to manage your Azure storage data through a simple tool that is available in Linux, MAC os, and Windows.

You can download the one according to your operating system through this URL.

After successful download, click to install

For Windows,

Accept the terms and click Install:

Click Next:

Most people often find it difficult to set up docker and configure it when running behind any proxy server, if you’re trying to run Docker without having direct access to the web you have to configure the docker daemon to use a proxy server. Without it, you won’t be able to pull or push any image.

The image above is for windows docker proxy settings and you will have the same settings with the Linux servers as well, with the steps mentioned below.

I see a lot of tutorials on the internet describing how to apply the proxy in the…

Dheeraj kumar

A DevOps who is passionate about Autom@tion.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store