pkcs11_make_hash_link(1)
β¨ pkcs11_make_hash_link β the manual page, bestie edition β¨
okay so you're reading the pkcs11_make_hash_link(1) page from the General Commands Manual and honestly? it's a short one, so let's get into it π
πΈ NAME πΈ
pkcs11_make_hash_link β SmartCard PKCS#11 create a CA certificate link π
π¦ SYNTAX π¦
pkcs11_make_hash_link
that's it. no flags, no arguments, no drama. it just does the thing π
π DESCRIPTION π
so pkcs11_make_hash_link creates a symbolic hash-link for each CA certificate and each CRL in the given directory. periodt. π«Ά
like, every CA cert and every CRL sitting in that directory gets its own little symlink bestie so everything can find everything else. it's giving matchmaker energy fr fr π
π EXAMPLE π
here's the whole glow-up in action, step by step β¨
first you roll up into the directory:
$ cd /etc/pam_pkcs11/cacerts
then you peek at what's there:
$ ls -l
total 4
-rw-r--r-- 1 root root 985 avr 4 2007 testCA-cacert.der
just a regular file, minding its own business π
then you hit it with the sudo:
$ sudo pkcs11_make_hash_link
and then you look again:
$ ls -l
total 4
lrwxrwxrwx 1 root root 17 dΓ©c 17 11:27 d0e0e6f3.0 -> testCA-cacert.der
-rw-r--r-- 1 root root 985 avr 4 2007 testCA-cacert.der
NOT the symlink appearing out of nowhere ππ the way d0e0e6f3.0 just points right at testCA-cacert.der β that's the hash-link, that's the whole serve. iconic behaviour, no notes. π₯
π AUTHORS π
Juan Antonio Martinez <jonsito@teleline.es> β thank you for your service, king π«‘π
π SEE ALSO π
pam_pkcs11(8)- PAM-PKCS11 User Manual
and that's the page bestie, we're done here πΈ the source is pkcs11_make_hash_link(1) and the date on this lil footer is the same pkcs11_make_hash_link(1) β mwah, go make some links πβ¨π
π¦ where this page comes from
- debian bookworm: libpam-pkcs11 0.6.12-1+deb12u1
- debian trixie: libpam-pkcs11 0.6.13-1
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: pam_pkcs11 0.6.13-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu jammy: libpam-pkcs11 0.6.11-4build2
- ubuntu jammy: libpam-pkcs11 0.6.11-4ubuntu0.1
- ubuntu noble: libpam-pkcs11 0.6.12-2build3
- ubuntu noble: libpam-pkcs11 0.6.12-2ubuntu0.24.04.1
- ubuntu questing: libpam-pkcs11 0.6.13-1
- ubuntu resolute: libpam-pkcs11 0.6.13-1build1
- ubuntu stonking: libpam-pkcs11 0.6.13-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms