You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of some integration problems with the Sun PKCS11 provider, keys generated from EJBCA will have a random name instead of the name given in the interface.
6
-
Therefor this documentation is only a Proof-of-Concept. Support for EJBCA will be introduced by NetHSM software 3.0.
7
-
4
+
.. note::
5
+
EJBCA requires at least NetHSM v3 and nethsm-pkcs11 v2.
8
6
9
7
`EJBCA <https://www.ejbca.org/>`__ is a PKI Certificate Authority software available as open source.
10
8
@@ -16,34 +14,18 @@ Then configure EJBCA to use the NetHSM PKCS#11 module by adding an entry in the
The ``418`` in the name is an index that must be unique for each PKCS#11 module in the configuration file.
23
22
24
-
To be able to generate keys from the interface you need to set the ``enable_set_attribute_value`` option to true in the ``p11nethsm.conf`` file.
25
-
26
23
After restarting EJBCA you can add a new Crypto Token in the EJBCA Admin GUI ``https://mycahostname/ejbca/adminweb/cryptotoken/cryptotokens.xhtml``.
27
24
The Crypto Token type is ``PKCS#11 Crypto Token`` and the Crypto Token name is ``NetHSM``.
28
25
29
26
30
-
Executing The Example
31
-
---------------------
32
-
33
-
If you want to experiment with the given example you can use git to clone the `nethsm-pkcs11 repository <https://github.com/Nitrokey/nethsm-pkcs11>`__ and run the following commands:
34
-
35
-
1. Configure a NetHSM, either a real one or a container. Refer to chapter `Getting Started <getting-started.html>`__ to learn more.
36
-
2. Change the libnethsm_pkcs11 configuration to match your NetHSM in ``container/ejbca/p11nethsm.conf``.
The container will be available at `https://localhost:9443/ <https://localhost:9443/>`__.
30
+
We provide an example setup using docker for testing.
31
+
If you want to experiment with it you can use git to clone the `nethsm-pkcs11 repository <https://github.com/Nitrokey/nethsm-pkcs11>`__ and then follow the steps described in the `container/ejbca/README.md <https://github.com/Nitrokey/nethsm-pkcs11/blob/main/container/ejbca/README.md>`__ file.
0 commit comments