If you have already installed Directory Server, Access Manager, Web Server, and Portal Server on Application Server 9.1, use this procedure to convert Portal Server installation to the secure mode. In the Secure mode, the communication between the user and Portal Server is through the https protocol.
Install Directory Server, Access Manager, Web Server, Portal Server, and Application Server 9.1.
Create a password file password and specify the password that has been provided for Application Server 9.1.
Create a certificate signing request.
certutil -R -s "CN=HOSTNAME.domain-name,OU=People,O=Portal,L=Location,ST=State,C=Country" -o certreq.pem -g 512 -d /opt/SUNWappserver/appserver/domains/domain1/config -f password -a
This command creates a certificate request in the certreq.pem file. The certutil file is present in the /usr/sfw/bin directory.
Send the certificate signing request to the CA.
Paste the contents of the approved certificate in an empty file on the Application Server 9.1 machine.
For example, the file name is servercert.pem.
Add this certificate in the database.
Add the CMS root ca to the database.
certutil -A -n rootca -t "TCu,TCu,TCuw" -d /opt/SUNWappserver/appserver/domains/domain1/config -a -i path-to-cert -f password
Login to the Administration Console of Application Server 9.1.
https://hostname.domain-name:4848
Click Configurations -> server-config -> HTTP Service -> HTTP Listeners -> http-listener-2.
Perform the following tasks:
.
Verify whether the certificate nickname is servercert.
Enable SSL3.
.
.
Restart the Application Server 9.1.
Login to the Access Manager Administration Console.
http://host.domain-name:8080/amconsole
Open the AMConfig.properties file.
The AMConfig.properties file is located in the /etc/opt/SUNWam/config directory.
Change com.iplanet.am.server.protocol to https. Add com.sun.identity.liberty.authnsvc.url= https://host.domain-name:8181/amserver/Liberty/authnsvc.
com.iplanet.am.server.protocol=https com.iplanet.am.server.host=host.domain-name com.iplanet.am.server.port=8181 com.iplanet.am.console.protocol=https com.iplanet.am.console.host=host.domain-name com.iplanet.am.console.port=8181 com.iplanet.am.profile.host=host.domain-name com.iplanet.am.profile.port=8181 com.iplanet.am.naming.url=https://host.domain-name:8181 /amserver/namingservice com.iplanet.am.notification.url=https://host.domain-name:8181 /amserver/notificationservice com.sun.identity.liberty.interaction.wspRedirectHandler= https://host.domain-name:8181/amserver/WSPRedirectHandler com.sun.identity.loginurl=https://host.domain-name:8181 /amserver/UI/Login com.sun.identity.liberty.authnsvc.url= https://host.domain-name:8181/amserver/Liberty/authnsvc |
Restart Directory Server and Application Server 9.1.