Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkcs11_make_hash_link util does not work #41

Open
asemchenko opened this issue Jan 22, 2020 · 1 comment
Open

pkcs11_make_hash_link util does not work #41

asemchenko opened this issue Jan 22, 2020 · 1 comment

Comments

@asemchenko
Copy link

asemchenko commented Jan 22, 2020

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.

@wolneykien
Copy link
Contributor

Hi! I've never used that util. Does c_rehash from OpenSSL do the same thing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants