Test Image¶
The test image is designed for testing and development purposes. It does not offer to run the NetHSM process with hardware-based separation (KVM), to encrypt the data store, or to use an external etcd. The connection between the NetHSM process and the integrated key-value store is unencrypted. The image is distributed as OCI image and can be run locally with a compatible executor such as Docker and Podman.
The image can be obtained from Docker Hub.
Hoiatus
Ärge kasutage mingil juhul testkuvandit tootmisandmete ja kasutusjuhtumite jaoks. Kõrgete turvanõuetega tootmiskeskkondades peate kasutama tootmiskujutist.
Märgistamise poliitika¶
Repositooriumis olevad pildid on märgistatud repositooriumi põhiharu Git-kommitatsiooni hashiga. Viimane pilt on märgistatud testing.
Konfiguratsioon¶
Pildi saab konfigureerida järgmiste keskkonnamuutujatega.
Keskkonna muutuja |
Kirjeldus |
|---|---|
„DEBUG_LOG |
Võimaldab NetHSMi laiendatud logimise. |
Data Storage¶
Süsteemi konfiguratsioon, võtmed ja sertifikaadid on salvestatud etcd-andmebaasis. etcd teenus salvestab andmebaasi konteineri /data teekonda. Konteineri täitjad lubavad selle tee mahu või sidumise ühendamist.
Kasutamine¶
Konteinerit saab täita järgmiselt.
$ docker run --rm -ti -p 8443:8443 docker.io/nitrokey/nethsm:testing
$ podman run --rm -ti -p 8443:8443 docker.io/nitrokey/nethsm:testing
This will run NetHSM as a Unix process inside the container and expose the REST API via the HTTPS protocol on port 8443.
Tähtis
The container uses a self-signed TLS certificate. Make sure to use the correct connection settings to establish a connection. Please refer to chapter NetHSM introduction to learn more.