C H A P T E R 5 |
Installing and Configuring iPlanet Web Server 6.0 |
This chapter explains how to enable the Sun Crypto Accelerator 1000 board for use with iPlanet 6.0 Web Servers. This chapter includes the following sections:
You must perform these procedures in order. Refer to the iPlanet Web Server documentation for more information about using iPlanet Web Servers.
1. Download the iPlanet Web Server 6.0 software.
You can find the web server software at the following URL:
Instructions are included for one example, you may decide to configure your web server differently. The default path name for the server is: /usr/iplanet/servers
Accept the default path during the iPlanet Web Server installation. This book refers to these default paths. If you decide to install it in a different location, be sure to note where you installed it.
4. Answer the prompts in the installation script.
Except for the following prompts, you can accept the defaults for ease of use:
a. Agree to accept the license terms by typing yes.
b. Enter a fully qualified hostname.domain.
c. Enter the iWS administration server password twice.
d. Press Return when prompted.
1. Start the administration server.
To start an iPlanet Web Server, use the following command (instead of running startconsole as setup requests):
The response provides the URL for connecting to your servers.
2. Start the iPlanet administration server by opening up a web browser and entering:
http://hostname.domain:admin_port |
In the pop-up window, enter the iWS administration server username and password you selected while running setup.
Note - If you used the default settings during iPlanet Web Server setup, enter the word admin for the User ID or the iWS administration server username. |
4. Create the trust database for the web server instance.
You might want to enable security on more than one web server instance. If so, repeat this process for each web server instance.
Note - If you want to run SSL on the administration server as well, the process of setting up a trust database is similar. Refer to the iPlanet documentation for more information. |
a. Click the Servers tab in the administration server.
b. Select a server and click the Manage button.
c. Click the Security tab near the top of the page and select the Create Database link.
d. Enter a password (web server trust database) in the two dialog boxes and click OK.
Choose a password of at least eight characters. This will be the password used to start the internal cryptographic modules when the iPlanet Web Server runs in secure mode.
5. Execute the following script to enable the Sun Crypto Accelerator 1000 board:
# /opt/SUNWconn/crypto/bin/sslconfig |
This script prompts you to choose a web server. It installs the Sun Crypto Accelerator 1000 cryptographic modules for the iPlanet Web Server or Apache Web Server. The script then updates the configuration files to enable the Sun Crypto Accelerator 1000 board.
6. Type 1 to configure your iPlanet Web Server to use SSL and press Enter.
7. Enter the path of the web server root directory when prompted and press Enter.
Please enter the full path of the web server root directory [/usr/iplanet/servers]: /usr/iplanet/servers |
8. Type y and press Enter when prompted, if you want proceed.
1. Restart the administration server by typing the following commands:
# /usr/iplanet/servers/https-admserv/stop # /usr/iplanet/servers/https-admserv/start |
2. To request the server certificate, click the Security tab near the top of this page.
The Create Trust Database window is displayed.
3. Select the Request a Certificate link on the left frame.
4. Fill out the form to generate a certificate request, using the following information:
If you can directly post your certificate request to a web-capable certificate authority or registration authority, select the CA URL link. Otherwise, choose CA Email Address and enter an email address where you would like the certificate request to be emailed to.
b. Select the Cryptographic Module you want to use.
Each realm has its own entry in this pull-down menu. Be sure that you select the correct realm. To use the Sun Crypto Accelerator 1000, you must select a module in the form of user@realm-name.
c. In the Key Pair File Password dialog box, provide the password for the user@realm-name that will own the key.
d. Provide the appropriate information for the following fields:
e. Click the OK button to submit the information.
5. Use a certificate authority to generate the certificate.
6. Once the certificate is generated, copy it, along with the headers, to the clipboard.
Note that the certificate is different from the certificate request and is usually presented to you in text form.
1. Select the Install Certificate link on the left side of the page.
Once your request has been approved by a certificate authority and a certificate has been issued, you must install it in the iPlanet Web Server.
3. On the left frame, choose the Install Certificate link.
4. Fill out the form to install your certificate:
5. Choose Message text (with headers) and paste the certificate you copied earlier.
6. Click the OK button at the bottom of the page.
7. Paste the certificate you copied from the certificate authority into the Message box.
You are shown some basic information about the certificate.
8. If everything looks correct, click the Add Server Certificate button.
On-screen messages tell you to restart the server. This is not necessary as the web server instance has been shut down the entire time. You are also notified that in order for the web server to use SSL the web server must be configured to do so. Use the following procedure to configure the web server.
Now that your web server and the Server Certificate are installed, you must configure the web server for SSL.
1. Click the Preferences tab near the top of the page.
2. Select the Edit Listen Sockets link on the left frame.
The main frame lists all the listen sockets set for the web server instance.
a. Alter the following fields:
b. Click the OK button to apply these changes.
In the security field of the Edit Listen Sockets page, there should now be an Attributes link.
4. Enter the user@realm-name password to authenticate to the user@realm-name on the system.
5. Select SSL settings from the pop-up window.
You can choose Cipher Default settings, SSL2, or SSL3/TLS. The default choice does not show the default settings. The other two choices require you to select the algorithms you want to enable.
6. Select the certificate for the user@realm-name followed by: Server-Cert (or the name you chose if it is different).
Only keys that the appropriate user@realm-name owns appear in the Certificate Name field.
7. When you have chosen a certificate and confirmed all the security settings, click the OK button.
8. Click the Apply link in the far upper right corner to apply these changes before you start your server.
9. Click the Load Configuration Files link to apply the changes.
You are redirected to a page that allows you to start your web server instance.
If you click the Apply Changes button when the server is off, a pop-up window prompts you for a password. This window is not resizable, and you might have problem submitting the change.
There are two workarounds for the problem noted above:
10. Provide the requested passwords in the dialog boxes to start the server.
You are prompted for one or more passwords. At the Module Internal prompt, provide the password for the web server trust database.
11. At the Module user@realm-name prompt, enter the password you set when you created user in the realm-name using secadm.
12. Verify the new SSL-enabled web server at the following URL:
https://hostname.domain:server_port/
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.