diff options
| author | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-11-20 12:51:33 +0800 |
| commit | 853b82126baa1e8e408a10f91053c52626ffad29 (patch) | |
| tree | 2fc1de9695810681ba654aab3c2a4867aacc1ac7 /config_files/openssl.pkcs11.cnf | |
| parent | b1f88b682624e85b4b743343dfaaeed113b69413 (diff) | |
working
Diffstat (limited to 'config_files/openssl.pkcs11.cnf')
| -rw-r--r-- | config_files/openssl.pkcs11.cnf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/config_files/openssl.pkcs11.cnf b/config_files/openssl.pkcs11.cnf new file mode 100644 index 0000000..403c7ae --- /dev/null +++ b/config_files/openssl.pkcs11.cnf | |||
| @@ -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/lib64/engines-3/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 | ||
