|
|
| Sun One Portal Server, Secure Remote Access 6.0 Administration Guide |
Appendix A Configuring the SSL Accelerator
This chapter introduces you to the SSL Accelerator and explains its configuration.
Overview of the SSL Accelerator
Enabling SSL Hardware Support for the Sun ONE Portal Server, Secure Remote Access
Overview of the SSL Accelerator
Using a hardware accelerator speeds up the execution of cryptographic algorithms, thereby increasing the performance speed.
The Sun Crypto Accelerator 1000 board is a short PCI board that functions as a cryptographic co-processor to accelerate public key and symmetric cryptography. This product has no external interfaces. The board communicates with the host through the internal PCI bus interface. The purpose of this board is to accelerate a variety of computationally intensive cryptographic algorithms for security protocols in eCommerce applications.
Enabling SSL Hardware Support for the Sun ONE Portal Server, Secure Remote Access
Prerequisites
Ensure that the Sun ONE Portal Server, Secure Remote Access has been installed, and a gateway server certificate (self-signed or issued by any CA) has been installed. The following checklist helps you keep track of the required information before installing the SSL Accelerator. Table 6-4 has two columns. The first column lists the parameter and the second column lists the value.
Table 6-4    SSL Accelerator Installation Checklist
Parameter
Value
To Configure the SSL Accelerator
Note csh is assumed for all shell commands in the following steps.
Follow the instructions in the hardware user's guide to install the hardware.
Install the following packages from the Sun Crypto Accelerator 1000 install CD.
Install the following patches:
You can get the patches from the http://sunsolve.sun.com
Ensure that you have the tools pk12util and modutil.
These tools can be found under InstallDir/SUNWps/bin when you install the Sun ONE Portal Server, Secure Remote Access.
Create the slots file as follows:
vi /etc/opt/SUNWconn/crypto/slots
Include the following single line in the slots file:
crypta@srap
Create a realm and a user using the following commands:
cd InstallDir/SUNWconn/bin
#./secadm
secadm> create realm=srap
System Administrator Login Required
Login: root
Password:
Realm srap created successfully.
secadm> set realm=srap
secadm{srap}> su
System Administrator Login Required
Login: root
Password:
secadm{root@srap}# create user=crypta
Initial password:
Confirm password:
User crypta created successfully.
secadm{root@srap}# login user=crypta
Password:
See the Sun Crypto Accelerator 1000 User's Guide for details on realms and users.
Run the show key command to verify that no keys exist for the user you created.
secadm{crypta@srap}> show key
No keys exist for this user.
Load the Sun Crypto module as follows:
cd InstallDir/SUNWps/bin
setenv LD_LIBRARY_PATH InstallDir/SUNWps/lib/solaris/sparc
modutil -dbdir /etc/opt/SUNWps/cert -add "Sun Crypto Module" -libfile InstallDir/SUNWconn/crypto/lib/libpkcs11.so
Verify that the Sun Crypto module has been loaded as follows:
modutil -list -dbdir /etc/opt/SUNWps/cert
Export the certificate and the key to the Sun Crypto module as follows:
cd InstallDir/SUNWps/bin
setenv LD_LIBRARY_PATH InstallDir/SUNWps/lib/solaris/sparc
pk12util -o servercert.p12 -d /etc/opt/SUNWps/cert -n server-cert
pk12util -i servercert.p12 -d /etc/opt/SUNWps/cert -h "crypta@srap" -K password -W password
Run the show key command as shown in step 8.
You should see 2 keys for this user.
Change the nickname in the /etc/opt/SUWNps/cert/.nickname file.
vi /etc/opt/SUWNps/cert/.nickname
Replace server-cert with crypta@srap:server-cert
Restart the gateway.
The gateway is now enabled with the Sun Crypto Hardware Accelerator 1000 support.
For More Information
Sun Crypto Accelerator 1000 User's Guide
http://www.sun.com/products-n-solutions/hardware/docs/pdf/816-2450-10.pdf
Release Notes
http://www.sun.com/products-n-solutions/hardware/docs/
pdf/816-2451-10.pdf
More links
http://www.sun.com/products-n-solutions/hardware/docs/Network_Connectivity/Crypto_Boards/
Previous Contents Index Next
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Last Updated September 26, 2002