Install Application Server and Directory Server using the Java ES installer.
Add valid certificates to the Application Server.
The certificate database is available in the /var/SUNWappserver/domains/domain1/config directory. The database files are key3.db and cert8.db.
Change to the config directory.
cd /var/SUNWappserver/domains/domain1/config
Create a password file, password, and specify the password.
Create a certificate signing request.
certutil -R -s "CN=node1.domain-name,OU=People,O=Portal, L=location,ST=state,C=country" -o certreq.pem -g 512 -d /var/SUNWappserver/domains/domain1/config -f password -a |
This command creates a certificate request in the certreq.pem file. The certutil utility is located in the /usr/sfw/bin directory.
Send this certificate request to a Certificate Management Server (CMS) for approval.
After the certificate is approved, paste the contents of the approved certificate in a flat file on the Application Server machine. For example, the servercert.pem file.
Add this certificate to the database.
Change to the config directory of the Application Server.
cd /var/ApplicationServer_base/SUNWappserver/domains/domain1/config
The servercert.pem file is also in the config directory.
Run the command:
certutil -A -n servercert -t "u,u,u" -d ApplicationServer_base/SUNWappserver/domains/domain1/config -a -i servercert.pem -f password
Add root ca to the database.
certutil -A -n rootca -t "TCu,TCu,TCuw" -d ApplicationServer_base/SUNWappserver/domains/domain1/config -a -i path_to_root_ca -f password
Log in to administrator console of the Application Server.
https://host.domain-name:4849
Select Configuration -> server-config -> HTTP Service -> HTTP Listeners -> http-listener-2.
Perform the following tasks:
Verify whether the security is enabled.
Verify whether the certificate nickname is servercert.
Enable SSL3.
Enable Transport Layer Security (TLS).
Select the All Cipher suites checkbox.
Restart the Application Server.
Because the Application Server is SSL enabled, you start the Java ES installer, Portal Server will not communicate with Application Server. You need to install root ca in the Java Development Kit (JDK) keystore of the hostname.
Install root ca in the JDK keystore of the hostname.
cd /usr/jdk/entsys-j2se/jre/lib/security /usr/jdk/entsys-j2se/jre/bin/keytool -keystore cacerts -keyalg RSA -import -trustcacerts -alias hostname -storepass store-password -file root-ca-CA |
Invoke the Java ES installer and select Access Manager and Portal Server.
Specify valid protocol and port values wherever prompted.