diff options
Diffstat (limited to 'hsm.conf')
| -rw-r--r-- | hsm.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/hsm.conf b/hsm.conf new file mode 100644 index 0000000..af27cf0 --- /dev/null +++ b/hsm.conf | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | # PKCS11 engine config | ||
| 2 | openssl_conf = openssl_def | ||
| 3 | |||
| 4 | [openssl_def] | ||
| 5 | engines = engine_section | ||
| 6 | |||
| 7 | [req] | ||
| 8 | distinguished_name = req_distinguished_name | ||
| 9 | |||
| 10 | [req_distinguished_name] | ||
| 11 | # empty. | ||
| 12 | |||
| 13 | [engine_section] | ||
| 14 | pkcs11 = pkcs11_section | ||
| 15 | |||
| 16 | [pkcs11_section] | ||
| 17 | engine_id = pkcs11 | ||
| 18 | dynamic_path = /usr/lib/x86_64-linux-gnu/engines-1.1/libpkcs11.so | ||
| 19 | MODULE_PATH = /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so #ubuntu | ||
| 20 | #MODULE_PATH = /usr/lib64/pkcs11/opensc-pkcs11.so #fedora/rocky | ||
| 21 | PIN = 648219 | ||
| 22 | init = 0 | ||
