C H A P T E R 4 |
Installing and Configuring iPlanet Web Server 4.1 |
This chapter explains how to install and configure iPlanet Web Server 4.1. 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 4.1 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/netscape/server4
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 default 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 4.1, use the following command (instead of running startconsole as setup requests):
# /usr/netscape/server4/https-admserv/start iPlanet-WebServer-Enterprise/4.1SP9 BB1-08/23/2001 05:50 startup: listening to http://hostname.domain, port 8888 as root |
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 adminstration 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 Steps 1-4 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. You will use this 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/netscape/server4]: /usr/netscape/server4 |
8. Type y and press Enter when prompted, if you want proceed.
1. Restart the administration server by typing the following commands:
# /usr/netscape/server4/https-admserv/stop # /usr/netscape/server4/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 the certificate 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. From the main administration page, choose the web server instance you want to work with and click Manage.
2. If the Preferences tab is not selected at the top of the page, click tab.
3. Select the Encryption On/Off link on the left side of the page.
The Port field in the dialog box should update to the default SSL port number 443. Alter the port number if necessary.
6. Apply these changes by clicking the Save button.
The web server is now configured to run in secure mode.
7. Edit the /usr/netscape/server4/https-hostname/config/magnus.conf file by adding the following line:
CERTDefaultNickname user@realm-name:Server-Cert |
Where hostname is the name of the web server.
By default, the certificate you generated in Step 2 and Step 4 is named
Server-Cert. If your certificate has a different name, substitute the name of the certificate for Server-Cert.
8. Select the server you want to administer and click the Apply button in the far upper right corner of the page.
This action applies the changes through the administration server.
9. Click the Load Configuration Files button to apply the changes you just made to the magnus.conf file.
If you click the Apply Changes button when the server is off, a pop-up window prompts you for password. This window is not resizable, and you might have a problem submitting the change. There are two workarounds for this problem:
10. On the web server page, select the On/Off link on the left side of the page.
11. Enter the passwords for the servers and click the OK button.
You are prompted for one or more passwords. At the Module Internal prompt, provide the password for the web server trust database.
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.