远程使用Java连接SafeNet HSM [英] Connect SafeNet HSM using Java remotely

查看:422
本文介绍了远程使用Java连接SafeNet HSM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的应用程序需要使用java通过Luna JSP api与SafeNet HSM进行交互。我们尝试了以下内容并且能够连接

Our application needs to interact with SafeNet HSM through Luna JSP api using java. We tried the following and were able to connect

     LunaSlotManager slotManager = LunaSlotManager.getInstance();
     slotManager.login(password);

但我的问题是,在我的程序中,我没有提供HSM设备的任何IP地址。然后它如何检测和连接?

But my question is that in my program I didn't give any IP Address of the HSM device. Then how does it detect and connect?

推荐答案

对Safenet Luna API的任何API调用都将与Safenet客户端软件进行交互,安装在本地计算机上。此客户端软件处理与HSM的实际网络连接。客户端软件可以与之通信的HSM的详细信息存储在以下位置:

Any API calls to the Safenet Luna API will interact with the Safenet client software which is installed on your local machine. This client software handles the actual network connection to the HSM. The details for which HSM(s) the client software can communicate with are stored in the following locations:


  • Windows:C:\Program Files \ LunaSA\crystoki.ini

  • Linux,Solaris和AIX:/etc/Chrystoki.conf

列出活动服务器的一种简单方法是使用属于Safenet软件的vtl命令:

A simple way of listing the active servers is using the vtl command that is part of the Safenet software:

$ vtl listservers
Server: 10.10.10.10

vtl命令也可用于制作使用addServer和deleteServer命令更改配置文件。

The vtl command can also be used to make changes to the config files using the addServer and deleteServer commands.

这篇关于远程使用Java连接SafeNet HSM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆