The secure socket layer (SSL) mode enables a user to access Portal Server using the https protocol. The https protocol ensures secured communication between the user and Portal Server. In this scenario, you need to create a secured Web Server instance. After creating a secured Web Server instance, you direct the Portal Server web container to the secured Web Server instance.
This section describes following procedures:
Create a new configuration instance
Create a request certificate
Generate a server certificate
Add the Server Certificate to the Certificate Database
Add root ca to the Certificate Database
Enable SSL on the Listener
Install Web Server 7.0 on Node 1.
Log in to the Web Server 7.0 administrator console.
https://node1.domain-name:8989
Select New Configuration under the Configuration Tasks option.
Type the following values:
Configuration name: node1
Server name: node1.domain-name
Hosts: node1.domain-name
Server user: root
Port: 8200
Move the node from the Available list box to the Selected list box.
Click Finish.
Start the server configuration and access it.
http://node1.domain-name:8200
Run the following command.
WebServer_base/SUNWwbsvr7/bin/wadm create-cert-request --user=admin --host=node1.domain-name --port=8989 --echo=true --rcfile=rcfile --config=node1 --token=internal --server-name=node1.domain-name --org=org --locality=locality --state=state --country=country |
Type the token values.
Pin: password
Administrator user password: password
The request certificate is created.
Send the request certificate to the Certificate Authority for approval.
Add the Server Certificate, servercert, to the certificate database.
WebServer_base/SUNWwbsvr7/bin/wadm install-cert --user=admin --password-file=password --host=node1.domain-name --port=8989 --ssl=true --rcfile=rcfile1 --echo=true --token=internal --config=node1 --cert-type=server --file-on-server=true --nickname=servercert WebServer_base/SUNWwbsvr7/bin/servercert |
Type the token values.
Pin: password
Administrator user password: password
Add the root ca certificate to the database.
WebServer_base/SUNWwbsvr7/bin/wadm install-cert --user=admin --password-file=ps --host=node1.domain-name --port=8989 --ssl=true --rcfile=rcfile1 --echo=true --token=internal --config=node1 --cert-type=ca --file-on-server=true --nickname=rootca root-CA-file-path |
Type the token values.
Pin: password
Administrator user password: password
Restart the server configuration.
Access the Web Server 7.0 administrator console.
https://node1.domain-name:8989
Select New Configuration on the Tasks page.
Select Edit Configuration.
Select Virtual Servers.
Select http-listener1.
Click the Security tab.
Select Security option.
Click Apply and Close.
Click the Deploy button.
Restart the servers.
WebServer_base/SUNWwbsvr7/bin/stopserv WebServer_base/SUNWwbsvr7/bin/startserv |
Verify the SSL instance by accessing the following URL.
https://node1.domain-name:8200