Category Archives: Software

What is a tech company after all?

I used to wonder why Amazon is called a tech company and not a retail company?Why is Uber called a tech company and not a taxi company?Why is AirBnB called a tech company and not a hotel company? The answer … Continue reading

Posted in Software | Leave a comment

Hyperledger Fabric Consensus Explained

What is consensus? Definition: Consensus is the mechanism that ensures all copies of a distributed ledger are the same i.e., at all times I will have exactly the same copy of the ledger as you. This is critical – imagine my … Continue reading

Posted in Software | Leave a comment

Using openssl to generate certificate and key for use with Hyperledger Fabric

Create a text file fabric.cnf with following contents Now on the command line run: Verify:

Posted in Software | Leave a comment

Running fabric-ca-server with user supplied certificate

I apologize in advance for bad formatting. The reason for bad formatting is described here: https://wordpress.stackexchange.com/questions/327170/how-to-avoid-wordpress-com-from-auto-inserting-p-and-span-tags-when-posting-code Objective: Understand how fabric-ca-server works and run it with user supplied X509 certificate and key. Lets spin up a docker instance of fabric-ca-server. If … Continue reading

Posted in Software | Leave a comment

mkdir /var/lib/docker: read-only file system

Got this error trying to launch a docker service. After some searching came across this link. Indeed the docker from snap is broken. Once I installed using official steps, the error wen’t away. Please don’t install docker using `sudo snap … Continue reading

Posted in Software | Leave a comment

“error”:”invalid_grant”,”error_description”:”AADSTS700082: The refresh token has expired

Sometimes you will get this error when trying to run az CLI. My first attempt to fix it was to refresh the token using az account get-access-token but when I ran it, it gave this: Get Token request returned http … Continue reading

Posted in Software | Leave a comment

Docker Swarm Mode Ports 2377, 7946, 4789

The docker docs say that for swarm mode to work: Open protocols and ports between the hosts The following ports must be available. On some systems, these ports are open by default. TCP port 2377 for cluster management communications TCP and UDP port … Continue reading

Posted in Software | Leave a comment