The TRUSTARGS of the personal certificate will be set to “u,u,u”.
To import a personal certificate and private key stored in a PKCS #12 file. Use the command: pk12util -d sql:$HOME/.pki/nssdb -i PKCS12_file.p12 Add a personal certificate and private key for SSL client authentication If it doesn't work, then to work around the NSS bug, you have to trust it as a CA using the “C,” trust flags. This should work now, because NSS bug 531160 is claimed to be fixed in a related bug report. Note: to trust a self-signed server certificate, we should use certutil -d sql:$HOME/.pki/nssdb -A -t "P," -n \ To import an intermediate CA certificate, use certutil - d sql : $HOME /. They define how the certificate should be trusted for SSL, email, and object signing, and are explained in the certutil docs or Meena's blog post on trust flags.įor example, to trust a root CA certificate for issuing SSL server certificates, use certutil - d sql : $HOME /. The TRUSTARGS are three strings of zero or more alphabetic characters, separated by commas. Package version 3.12.3.1-0ubuntu0.9.04.2 List details of a certificate certutil -d sql:$HOME/.pki/nssdb -L -n Īdd a certificate certutil - d sql : $HOME /. List all certificates certutil -d sql:$HOME/.pki/nssdb -LĪbove (and most commands) gives: certutil: function failed: security library: invalid arguments.
Save changes to the file and proceed to update the repositories list with: sudo apt-get update 3.
Deb-src indicates source packages, which are the original program sources plus the Debian control file (.dsc) and the diff.gz containing the changes needed for packaging the program.
Deb indicates that the archive contains binary packages (deb), the pre-compiled packages that we normally use. This basically adds the old kali repositories to apt, so we will be able to install the checkinstall tool with the regular command. The first word on each line, deb or deb-src, indicates the type of archive. Click the VM to highlight it and click the start button at the top menu or simply right click on the vm and click Start > Normal Start to power on the VM and begin installation. Click Ok when done to close the VM settings wizard. # deb-src sana/updates main contrib non-free Define any other VM settings as you wish. # deb-src kali-rolling main contrib non-free # For source package access, uncomment the following line Now that you know the file that you need to edit, proceed to append the following entries at the end of the file: deb kali-rolling main contrib non-free We will append some text at the end of this file in the next step. This file is /etc/apt/sources.list and you need to edit it with some either CLI editor o text editor, we will use the nano editor in this case: sudo nano /etc/apt/sources.list Edit the apt sources.list file with some editorĪs part of its operation, Apt uses a file that lists the 'sources' from which packages can be obtained. In this short article, we will explain you how to install the checkinstall package adding some missing entries to the sources of apt in Kali Linux.
The error triggered in the terminal (Unable to locate package), says basically that the package cannot be found in the repositories list of apt that you have currently in your Kali Linux. Unfortunately, some reports mentioned the exception of the failure of the installation of the checkinstall package with the following command: sudo apt-get install checkinstall In some of our tutorials, we like to build packages from source as this helps you to get more experience as a developer, knowing the why of the things etc.