CHAPTER 7 Prepare the Client for Network Trust Link
Prepare a Network Trust Link - UNIX/Linux
In this section, create and exchange certificates from Linux and UNIX systems, to configure a Network Trust Link with
your Luna SA appliance.
Import HSM Appliance Server Certificate onto Client (UNIX)
1.
Ensure that you are in the
/usr/lunaclient/bin
directory on the Client.
2.
Securely transfer the
server.pem
file from the Luna SA, using the scp utility.
bash-2.05# scp admin@myLuna3:server.pem .
admin@myLuna3's password:
server.pem
100%
|*******************************************************| 928
00:00
Note the dot (.) at the end of the command, denoting “place the resulting file in the current directory”.
3.
Verify that the Server Certificate has arrived on the Client:
bash-2.05# ls
multitoken2
openssl.cnf server.pem vtl
Example
Securely transfer the server.pem file from the Luna SA, using the scp utility.
bash-2.05# scp [email protected]:server.pem .
[email protected]'s password:
server.pem
100%
|*******************************************************| 928
00:00
Any time the IP or hostname of the HSM appliance has changed (such as moving from a pre-production environment),
the client(s) that have previously connected via SSH will detect a mismatch in the HSM appliance's server certification
information and warn you of potential security breach. In this case you will need to remove that server's certificate
information from the client’s known host file found in:
/<user home dir>/.ssh/known_hosts2
If this is happening in a production environment, this could potentially be a security breach needing investigation.
Similarly, when you first open a scp or ssh link, you must accept the certificate.
You can check the fingerprint of the certificate with:
lunash:> sysconf fingerprint -ssh
Next, see
"Register the HSM Server Certificate with the Client (UNIX)" on page 102
.
Register the HSM Server Certificate with the Client (UNIX)
Use vtl, the supplied client-side tool for managing HSM client/server setup. The vtl command is not interactive. It is
called from the command line or a shell prompt, it completes its current task, and it exits back to the shell.
Invoke the
vtl addServer
command so that the client can create a secure connection with the HSM (the server).
The vtl executable is located at /usr/safenet/lunaclient/bin/ unless you changed the default.
Luna SA Configuration Guide
Release 5.4.1 007-011136-007 Rev C July 2014 Copyright 2014 SafeNet, Inc. All rights reserved.
102