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.
Brīdinājums
Testa attēlu nekādā gadījumā neizmantojiet ražošanas datiem un lietošanas gadījumiem. Ražošanas vidēs ar augstām drošības prasībām jāizmanto ražošanas tēls.
Marķēšanas politika¶
Attēliem repozitorijā tiek pievienota Git commit hash no repozitorija galvenā zara. Jaunākais attēls ir atzīmēts ar testing.
Konfigurācija¶
Attēlu var konfigurēt, izmantojot šādus vides mainīgos.
Vides mainīgais |
Apraksts |
|---|---|
Ipsec (tikai Linux) |
Iespējo paplašinātu reģistrēšanu NetHSM. |
Data Storage¶
Sistēmas konfigurācija, atslēgas un sertifikāti tiek glabāti etcd datubāzē. etcd pakalpojums glabā datu bāzi /data kontaijera ceļā. Konteinera izpildītāji ļauj pieslēgt šo ceļu.
Lietošana¶
Konteineru var izpildīt šādi.
$ 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.
Svarīgi
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.