|
Setting Up a PGP
Public Key on our Server:
NOTE: 'uid',
'key userid', and 'keyname' are used interchangeably.
If you do not have
PGP 5.0, it can be downloaded for free at
http://www.pgp.com/.
1. Create a PGP Key
Pair on your hard drive.
2. Copy the public
key that has been created as a text file.
3. Upload the public
key text file to your home directory on the server.
4. Add the public
key to your key ring on the server.
Telnet command
line: /usr/local/bin/pgpk -a /home/username/filename
5. Make the public
key completely trusted.
Telnet command line:
/usr/local/bin/pgpk -e keyname
Choose '4'
for completely trusted at all times.
6. Run a test encryption
for the key from the prompt.
Create a test text
file
Telnet
command line: /usr/local/bin/pgpe -r key_ userid -o name_of_output_file
-a name_of_text_file
Answer 'Y'
when asked if trusted
7. After you are
finished, you will need to contact technical support to set the
permissions on your public key to be used from the web.
You now need to
set up your form to use the 'pgpmail.pl':
The form action line
should be:
<FORM ACTION
= "/cgi-sys/pgpmail.pl" METHOD = "POST">
The 'pgpmail.pl'
will do all the programming work for you. The behavior of 'pgpmail.pl'
is altered by the use of hidden fields in your form.
There are three form
fields that you must have in your form for PGPMail to work correctly.
They are the 'recipient', 'username', and 'keyname' fields.
Field: recipient
This form field allows
you to specify to whom you wish your form results to be e-mailed.
You will most likely want to configure this option as a hidden form
field with a value equal to that of your e-mail address.
Syntax:
<input type=hidden
name="recipient" value="your_username@localnet.com">
Field: username
This field allows
you to specify your username in the system. This allows PGPMail
to look for the configuration files to encrypt the mail to be sent
to you.
Syntax:
<input type=hidden
name="username" value="your_username">
Field: keyname
This form field allows
you to specify the name of your public key. This will be the public
key that PGPMail uses to encrypt your mail. You must possess the
private key in order to decrypt the e-mail that is sent.
Syntax:
<input
type=hidden name="keyname" value="public_keyname">
See
also: Network
Redundancy
Reliability
Performance
Noc
|