Download Users` Guide to NetSolve V2.0 - Innovative Computing Laboratory

Transcript
Chapter 15. Running the NetSolve Server
Now enter a pass phrase which will be used to encrypt your private key. You will need to use your
passphrase when signing a problem. Pick a phrase that you will remember but which nobody else will
guess. Several nonesense words or random seeming characters are better than short easily-recognized
phrases.
2. Getting the key signed
First you need to export your key. This can also be done directly using gpg or with the provided script,
NS_export_key. NS_export_key takes two parameters, first your key id, you can use the email address
that you entered above, followed by the name of the file you wish to export to.
UNIX>NS_export_key [email protected] yourkey.gpg
Or:
UNIX>gpg --export [email protected] > yourkey.gpg
Now mail that key in an attachment to someone who the netsolve server trusts and who is willing to sign
your key. By default, netsolve servers trust the key associated with ’[email protected]’ but your
netsolve server may trust other keys instead of, or in addition to, this key. Netsolve-master will not sign
your key unless we know you and trust you. We will expect you to appear in person and verify your key
fingerprint before we will sign the key - sending the key by email just gets it to our computer where we
can sign it.
3. Incorporating the signed key in your keyring
Finally when you get the signed key back in the mail, save it in a file (call it signedkey.gpg) and import it
into your keyring. Again, this can be done two ways, directly using gpg or with the provided script,
NS_import_key. NS_import_key takes one parameter, the file containing your signed key.
UNIX>NS_import_key signedkey.gpg
UNIX>gpg --import signedkey.gpg
4. Signing problems
A script called NS_sign_problem is used to sign problems once they are compiled and linked. To use
it, type
UNIX>NS_sign_problem problem-filename key-id
For instance, if you wanted to sign a problem named service-superlu, you would type
UNIX>NS_sign_problem service-superlu [email protected]
This will produce a file named superlu.nsp. This is the signed problem which can then be installed on
a Netsolve software server.
Hardware Server Setup - Incorporating a key
By default, a NetSolve hardware server will not accept mobile code. In order for the server to accept
mobile code it has to be configured to use gpg to verify the authenticity and integrity of code.
75