Anonymous FTP
Configuring CGI Scripts using SSL
Counters
Customizing Error Messages Formmail
FrontPage 98/2000
FrontPage Remote
FTP Upload
htaccess
Site Statistics
Mail Settings
MySQL and PHP
Name Servers & NIC Handles
Password Protection
PGP
Real Audio
Shopping Cart

SmartList Mailing List
SSL

Telnet & SSH

WebMister

More Online Documentation


First thing you need to do is to set up your key pair.

Setting Up a PGP Public Key on our Server

NOTE: 'uid', 'key userid', and 'keyname' are one in the same.

If you do not have PGP 5.0, you can download it at http://www.pgp.com/.

  1. Create a PGP Key Pair on your hard drive. 
  2. Copy the public key that was created to a text file.
  3. Upload the public key text file to your home directory on the server.
  4. Add the public key to your keyring on the server.
  • Telnet command line: /usr/local/bin/pgpk -a 
  • /home/username/filename
  1. Make the public key completely trusted.
  • Telnet command line: /usr/local/bin/pgpk -e keyname
  • Answer '4' for completely trusted all the time
  1. 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
  1. After you are completed, you need to contact technical support to set the permissions on your public key to be used from the web.

 

Now You 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. You alter the behavior of 'pgpmail.pl' by using hidden fields in your form.

There are three form fields that you must have in your form for PGPMail to work correctly. This is the 'recipient', 'username', and 'keyname' fields.

 

Field: recipient

Description: This form field allows you to specify to whom you wish for your form results to be mailed. Most likely you will 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

Description: This form 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

Description: 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 email that is sent.

Syntax:

<input type=hidden name="keyname" value="public_keyname">

 

  Home           Web Hosting           Support           About Us           Contact Us
Copyright 2003, Virtual Hosting Solutions All rights reserved.