selfsign-getcert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
selfsign-getcert: command not found
or when using sudo you get the following error message
sudo: selfsign-getcert: command not found
Solutions to selfsign-getcert: command not found
How To Fix selfsign-getcert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu selfsign-getcert is provided by certmonger package.
certmonger is:
Certmonger is a D-Bus -based service which attempts to simplify interaction with certifying authorities (CAs) on networks which use public-key infrastructure (PKI).
If it knows the location of a certificate, certmonger can track the expiration date and notify you when the certificate is about to expire.
If it has access to the corresponding private key and information about the CA which issued the certificate, certmonger can even attempt to automatically obtain a new certificate.
Supports certificate and key storage in PEM or NSSDB formats.
Can self-sign certificates, or can submit them to either certmaster or development versions of IPA.
To fix this problem, we can install more using the command below.
sudo apt-get -y install certmonger
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install certmonger.
sudo apt -y install certmonger
Or if you have aptitude installed you can use the following command.
sudo aptitude install certmonger
Summary
In this tutorial we learn how to fix selfsign-getcert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.