NetHSM¶
本文档介绍 NetHSM 软件和硬件。NetHSM 软件既可以在 NetHSM 硬件上使用,也可以作为`软件容器<container>`__(如 Docker)使用。
The NetHSM software features a REST API to perform installation, administration and operational tasks. The recommended way to use a NetHSM is through the tool nitropy. Alternatively curl can be used to send HTTP requests to the REST API.
如果你获得了一个新的NetHSM硬件,请先参考`开始<getting-started.html#getting-started>`__章节。如果你想恢复NetHSM的备份,请参考`恢复<administration.html#restore>`__一章。
重要
如果你使用带有自签名证书的NetHSM实例,例如使用Docker容器,你将不得不指示*nitropy*或*curl*忽略证书的有效性。对于*nitropy*,使用选项``--no-verify-tls``,对于*curl*,使用选项``--insecure/-k``来跳过证书检查。
备注
The examples in this documentation use the environment variable NETHSM_HOST
, which contains the IP address or URL of the NetHSM. On a Unix shell the variable can be set with the following command.
$ export NETHSM_HOST="<URL-or-IP-address>"