Setting up Access Manager to run on an SSL-enabled Application server is a two-step process. First, secure the Application Server instance to the installed Access Manager, then configure Access Manager itself.
This section describes the steps to set up Application Server 6.2 in SSL mode.
Log into the Sun Java System Application Server console as an administrator by entering the following address in your browser:
The default port is 4848.
Enter the username and password you entered during installation.
Select the Application Server instance on which you installed (or will install) Access Manager. The right frame displays that the configuration has changed.
Click Apply Changes.
Click Restart. The Application Server should automatically restart.
In the left frame, click Security.
Click the Manage Database tab.
Click Create Database, if it is not selected.
Enter the new database password and confirm, then click the OK button. Make sure that you write down the database password for later use.
Once the Certificate Database has been created, click the Certificate Management tab.
Click the Request link, if it is not selected.
Enter the following Request data for the certificate
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.
Specify the way in which you want to submit the request for the certificate.
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 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.
Enter the password for your key-pair file (this is the password you specified in step 9).
Enter the following identification information:
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 Java System 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.
Click the OK button. A message will be displayed, for example:
--BEGIN NEW CERTIFICATE REQUEST--- afajsdllwqeroisdaoi234rlkqwelkasjlasnvdknbslajowijalsdkjfalsdfla alsfjawoeirjoi2ejowdnlkswnvnwofijwoeijfwiepwerfoiqeroijeprwpfrwl --END NEW CERTIFICATE REQUEST--
Copy all of this text to a file and click OK. Make sure that you get the Root CA certificate.
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
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.
Go to the Application Server console and click on the Install link.
Select Certificate For This Server.
Enter the Certificate Database password in the Key Pair File Password field.
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.
Click OK button. The browser displays the certificate, and provides a button to add the certificate.
Click Add Server Certificate.
Install the Root CA Certificate in the same manner described above. However, select Certificate for Trusted Certificate Authority.
Once you have completed installing both certificates, expand the HTTP Server node in the left frame
Select HTTP Listeners under HTTP Server.
Select http-listener-1. The browser displays the socket information.
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.
Select SSL/TLS Enabled.
Select Certificate Nickname.
Specify the Return server. This should match the common name specified in Step 12.
Select the Application Server instance on which you will install the Access Manager software. The right frame shows that the configuration has changed.
Click Apply Changes.
Click Restart. The application server should automatically restart.
The basic steps to configure Application Server 8.1 with SSL are as follows. See the Application Server 8.1 documentation for detailed instructions.
Create a secure port on the Application server through the Application Server Administration console. For more information, see “Configuring Security” in the Sun Java System Application Server Enterprise Edition 8.1 Administration Guide at the following location:
Verify that the certificate authority (CA) that trusts the server's certificate is present in the web container's trust database. Then, obtain and install a server certificate for the web container. For more information, see “Working with Certificates and SSL” in the Sun Java System Application Server Enterprise Edition 8.1 Administration Guide at the following location:
Restart the web container.
This section describes the steps to configure Access Manager in SSL mode. Before you set up SSL for Access Manager, make sure that you configured the web container for your deployment.
In the Access Manager 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.
If a single instance of Access Manager is listening on two ports (one in HTTP and one in HTTPS) and you try to access Access Manager with a stalled cookie, Access Manager will become unresponsive. This is not a supported configuration.
Open the AMConfig.properties file from the following default location:
Replace all of the protocol occurrences of http:// to https:// and change the port number to an SSL-enabled port number.
Save the AMConfig.properties file.
Restart the Application Server.