pam_pkcs11
pam_pkcs11 copied to clipboard
pkcs11_make_hash_link util does not work
Hi!
I am trying to use pkcs11_make_hash_link util to make a symbolic hash link in /etc/ssl/cacerts
directory. Here is a content of that directory produced by ls
:
total 12
drwxr-xr-x 2 root root 4096 Jan 22 11:53 .
drwxr-xr-x 6 root root 4096 Jan 22 11:53 ..
-rw-r--r-- 1 asem asem 1029 Jan 22 10:36 root_2048_crt.pem
Than did cd
to that directory and executed
sudo pkcs11_make_hash_link
This execution does not produce any output and it seems that everything worked OK, but when I listed directory content again I got this:
total 12
drwxr-xr-x 2 root root 4096 Jan 22 11:53 .
drwxr-xr-x 6 root root 4096 Jan 22 11:53 ..
-rw-r--r-- 1 asem asem 1029 Jan 22 10:36 root_2048_crt.pem
Nothing has changed. As mentioned in the man page to this util, a symbolic link to my cert should be created.
The version of the libpam-pkcs11
that I use is 0.6.9-2build2
Can you help me, please, with this?
P.S. I have tried to use the latest version of this script from here but it also did not work.
Hi! I've never used that util. Does c_rehash
from OpenSSL do the same thing?