Sun logo      Previous      Contents      Index      Next     

Sun ONE Identity Server 6.1 Administration Guide

Appendix B
Configuring Identity Server in SSL Mode

Using Secure Socket Layer (SSL) with simple authentication guarantees confidentiality and data integrity.

Identity Server is capable of simultaneous SSL and non-SSL communications. This means that you do not have to choose between SSL or non-SSL communications; you can use both at the same time.

The following sections describe the steps for configuring Identity Server in SSL with four different web containers:


Configuring Identity Server With a Secure Sun ONE Web Server

To configure Identity Server in SSL mode with Sun ONE Web Server, see the following steps:

  1. In the Identity Server console, click on the Properties arrow for the top-level organization (created during installation).
  2. The Organization Properties window will display in the Data frame.

  3. Click Save to save the changes.
  4. In the Identity Server console, go to the Service Configuration module and select the Platform service. In the Server List attribute, remove the http:// protocol, and add the https:// protocol. Click Save.

  5. Note

    Be sure to click Save. If you don’t, you will still be able to proceed with the following steps, but all configuration changes you have made will be lost and you will not be able to log in as administrator to fix it.


Step 4 through Step 27 describe the Sun ONE Web Server.

  1. Log on to the Web Server console. The default port is 58888.
  2. Select the Web Server instance on which Identity Server is running, and click Manage.
  3. This displays a pop-up window explaining that the configuration has changed. Click OK.

  4. Click on the Apply button located top right corner of the screen.
  5. Click Apply Settings.
  6. The Web Server should automatically restart. Click OK to continue.

  7. Stop the select Web Server instance.
  8. Click the Security Tab.
  9. Click on Create Database.
  10. Enter the new database password and click OK.
  11. Ensure that you write down the database password for later use.

  12. Once the Certificate Database has been created, click on Request a Certificate.
  13. Enter the data in the fields provided in the screen.
  14. The Key Pair Field Password field is the same as you entered in Step 11. In the location field, you will need to spell out the location completely. Abbreviations, such as CA, will not work. All of the fields must be defined. In the Common Name field, provide the hostname of your Web Server.

  15. Once the form is submitted, you will see a message such as:
  16. --BEGIN CERTIFICATE REQUEST---

    afajsdllwqeroisdaoi234rlkqwelkasjlasnvdknbslajowijalsdkjfalsdflasdf

    alsfjawoeirjoi2ejowdnlkswnvnwofijwoeijfwiepwerfoiqeroijeprwpfrwl

    --END CERTIFICATE REQUEST--

  17. Copy this text and submit it for the certificate request.
  18. Ensure that you get the Root CA certificate.

  19. You will receive a certificate response containing the certificate, such as:
  20. --BEGIN CERTIFICATE---

    afajsdllwqeroisdaoi234rlkqwelkasjlasnvdknbslajowijalsdkjfalsdflasdf

    alsfjawoeirjoi2ejowdnlkswnvnwofijwoeijfwiepwerfoiqeroijeprwpfrwl

    --END CERTIFICATE---

  21. Copy this text into your clipboard, or save the text into a file.
  22. Go to the Web Server console and click on Install Certificate.
  23. Click on Certificate for this Server.
  24. Enter the Certificate Database password in the Key Pair File Password field.
  25. Paste the certificate into the provided text field, or check the radio button and enter the filename in the text box. Click Submit.
  26. The browser will display the certificate, and provide a button to add the certificate.

  27. Click Install Certificate.
  28. Click Certificate for Trusted Certificate Authority.
  29. Install the Root CA Certificate in the same manner described in Step 18 through Step 23.
  30. Once you have completed installing both certificates, click on the Preferences tab in the Web Server console.
  31. Select Add Listen Socket if you wish to have SSL enabled on a different port. Then, select Edit Listen Socket.
  32. Change the security status from Disabled to Enabled, and click OK to submit the changes.

Step 28 through Step 30 describe Identity Server.

  1. Open the AMConfig.properties file. By default, the location of this file is /opt/SUNWam/lib.
  2. Replace all of the protocol occurrences of http:// to https://, except for the Web Server Instance Directory. This is also specified in AMConfig.properties, but must remain the same.
  3. Save the AMConfig.properties file.
  4. In the Web Server console, click the ON/OFF button for the Identity Server hosting web server instance.
  5. The Web Server displays a text box in the Start/Stop page.

  6. Enter the Certificate Database password in the text field and select Start.


Configuring Identity Server with a Secure Sun ONE Application Server

Setting up Identity Server to run on an SSL-enabled Sun ONE Application server is a two-step process. First, secure the Application Server instance to the installed Identity Server, then configure Identity Server itself.

Setting Up Application Server With SSL

To Secure the Application Server Instance

  1. Log into the Sun ONE Application Server console as an administrator by entering the following address in your browser:
  2. http://fullservername:port

    The default port is 4848.

  3. Enter the username and password you entered during installation.
  4. Select the Application Server instance on which you installed (or will install) Identity Server. The right frame displays that the configuration has changed.
  5. Click Apply Changes.
  6. Click Restart. The Application Server should automatically restart.
  7. In the left frame, click Security.
  8. Click the Manage Database tab.
  9. Click Create Database, if it is not selected.
  10. Enter the new database password and confirm, then click the OK button. Make sure that you write down the database password for later use.
  11. Once the Certificate Database has been created, click the Certificate Management tab.
  12. Click the Request link, if it is not selected.
  13. Enter the following Request data for the certificate
    1. Select it if this is a new certificate or a certificate renewal. Many certificates expire after a specific period of time and some certificate authorities (CA) will automatically send you renewal notification.
    2. Specify the way in which you want to submit the request for the certificate.
    3. If the CA expects to receive the request in an E-mail message, check CA E-mail and enter the E-mail address of the CA. For a list of CAs, click List of Available Certificate Authorities.

      If you are requesting the certificate from an internal CA that is using the Sun ONE Certificate Server, click CA URL and enter the URL for the Certificate Server. This URL should point to the certificate server's program that handles certificate requests.

    4. Enter the password for your key-pair file (this is the password you specified in Step 9).
    5. Enter the following identification information:
    6. Common Name. The full name of the server including the port number.

      Requestor Name. The name of the requestor.

      Telephone Number. The telephone number of the requestor

      Common Name. The fully qualified name of the Sun One Application Server on which the digital certificate will be installed.

      E-mail Address. The E-mail address of the administrator.

      Organization Name. The name of your organization. The certificate authority may require any host names entered in this attribute belong to a domain registered to this organization.

      Organizational Unit Name. The name of your division, department, or other operational unit of your organization.

      Locality Name (city). The name of your city or town.

      State Name. The name of the state or province in which your organization operates if your organization is in the United States or Canada, respectively. Do not abbreviate.

      Country Code. The two-letter ISO code for your country. For example, the code for the United States is US.

  14. Click the OK button. A message will be displayed, for example:
  15. --BEGIN NEW CERTIFICATE REQUEST---

    afajsdllwqeroisdaoi234rlkqwelkasjlasnvdknbslajowijalsdkjfalsdfla

    alsfjawoeirjoi2ejowdnlkswnvnwofijwoeijfwiepwerfoiqeroijeprwpfrwl

    --END NEW CERTIFICATE REQUEST--

  16. Copy all of this text to a file and click OK. Make sure that you get the Root CA certificate.
  17. Select a CA and follow the instructions on that authority's web site to get a digital certificate. You can get the certificate from CMS, Verisign or Entrust.net
  18. After you receive your digital certificate from the certificate authority, you can copy the text into your clipboard, or save the text into a file.
  19. Go to the Sun ONE Application Server console and click on the Install link.
  20. Select Certificate For This Server.
  21. Enter the Certificate Database password in the Key Pair File Password field. (It is the same password you entered in Step 9).
  22. Paste the certificate into the provided text field, Message text (with headers), or enter the filename in the Message that is in this file text box. Select the appropriate radio button.
  23. Click OK button. The browser displays the certificate, and provides a button to add the certificate.
  24. Click Add Server Certificate.
  25. Install the Root CA Certificate in the same manner described in Step 10 through Step Step 22. However, in Step 18, select Certificate for Trusted Certificate Authority.
  26. Once you have completed installing both certificates, expand the HTTP Server node in the left frame
  27. Select HTTP Listeners under HTTP Server.
  28. Select http-listener-1. The browser displays the socket information.
  29. Change the value of the port used by http-listener-1 from the value entered while installing application server, to a more appropriate value such as 443.
  30. Select SSL/TLS Enabled.
  31. Select Certificate Nickname.
  32. Specify the Return server. This should match the common name specified in Step 12.
  33. Click Save.
  34. Select the Application Server instance on which you will install the Sun ONE Identity Server software. The right frame shows that the configuration has changed.
  35. Click Apply Changes.
  36. Click Restart. The application server should automatically restart.

Configuring Identity Server in SSL Mode

To configure Identity Server with WebLogic in SSL mode:

  1. In the Identity Server console, click on the Properties arrow for the top-level organization (created during installation). The Organization Properties window will display in the Data frame.
  2. Click Save to save the changes.
  3. In the Identity Server console, go to the Service Configuration module and select the Platform service. In the Server List attribute, add the same URL with the HTTPS protocol and an SSL-enabled port number. Click Save.
  4. Open the AMConfig.properties file from the following default location:
  5. /opt/SUNWam/lib.

  6. Replace all of the protocol occurrences of http:// to https:// and change the port number to an SSL-enabled port number.
  7. Save the AMConfig.properties file.
  8. Restart the Application Server.



Previous      Contents      Index      Next     


Copyright 2003 Sun Microsystems, Inc. All rights reserved.