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.
Įspėjimas
Jokiu būdu nenaudokite bandomojo atvaizdo gamybiniams duomenims ir naudojimo atvejams. Gamybinėse aplinkose, kurioms keliami aukšti saugumo reikalavimai, turite naudoti gamybinį atvaizdą.
Žymėjimo politika¶
Atvaizdai saugykloje pažymėti „Git“ įsipareigojimo hash iš saugyklos pagrindinės šakos. Naujausias atvaizdas pažymėtas testing.
Konfigūracija¶
Atvaizdą galima konfigūruoti naudojant šiuos aplinkos kintamuosius.
Aplinkos kintamasis |
Aprašymas |
|---|---|
|
Įjungiamas išplėstinis NetHSM registravimas. |
Data Storage¶
Sistemos konfigūracija, raktai ir sertifikatai saugomi „etcd“ duomenų bazėje. etcd paslauga saugo duomenų bazę konteinerio /data kelyje. Konteinerio vykdytojai leidžia prie šio kelio prijungti tomą arba susieti.
Naudojimas¶
Konteineris gali būti vykdomas taip.
$ 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.
Svarbu
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.