kxgencert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
kxgencert: command not found
or when using sudo you get the following error message
sudo: kxgencert: command not found
Solutions to kxgencert: command not found
How To Fix kxgencert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu kxgencert is provided by kxgencert package.
kxgencert is:
kxd is a key exchange daemon, which serves blobs of data (keys) over https.
It can be used to get keys remotely instead of using local storage. The main use case is to get keys to open dm-crypt devices automatically, without having to store them on the local machine.
This package provides a certificate generator, for convenience when setting up the client and server.
To fix this problem, we can install more using the command below.
sudo apt-get -y install kxgencert
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install kxgencert.
sudo apt -y install kxgencert
Or if you have aptitude installed you can use the following command.
sudo aptitude install kxgencert
Summary
In this tutorial we learn how to fix kxgencert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.