summaryrefslogtreecommitdiff
path: root/hsm.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hsm.conf')
-rw-r--r--hsm.conf22
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 @@
+# PKCS11 engine config
+openssl_conf = openssl_def
+
+[openssl_def]
+engines = engine_section
+
+[req]
+distinguished_name = req_distinguished_name
+
+[req_distinguished_name]
+# empty.
+
+[engine_section]
+pkcs11 = pkcs11_section
+
+[pkcs11_section]
+engine_id = pkcs11
+dynamic_path = /usr/lib/x86_64-linux-gnu/engines-1.1/libpkcs11.so
+MODULE_PATH = /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so #ubuntu
+#MODULE_PATH = /usr/lib64/pkcs11/opensc-pkcs11.so #fedora/rocky
+PIN = 648219
+init = 0