- 67 -
-keypass DemoIdentityPassPhrase \
-keystore DemoIdentity.jks \
-storepass DemoIdentityKeyStorePassPhrase \
-alias demoidentity -file demoidentity.der
Note: When you issue the above command as it is, please remember that the backslash character is
the line continuation flag in Unix systems, and that must be the very last character on the line.
Alternatively, enter the whole command in a single line.
82. Encrypt the keystore pass phrase. You will need the encrypted string later.
As you can see in the above
pass phrase used when the keystore was created.
Invoke WLST. WebLogic Scripting Tool (WLST) is a command-line scripting environment that
you can use to create, manage, and monitor WebLogic Server domains.
Execute the following commands in WLST.
It is essential that you use the correct path for the domain folder. The encrypt function will not
complain when you use a different path, but the encrypted password will not work at later stages.
Write down the result of the print statement; this is the encrypted password for the keystore file.
The encrypted password is similar to this example:
83. Generate the configuration and key files containing the connection information for the various
Execute the following commands with WLST which is already running.
Note: In the following commands, you might need to change
actual administrator user’s name and password, or change port
if the AdminServer runs on a
connect('weblogic', 'welcome1', 't3://<host1>:7001')
You will get a warning, reply
at the prompt:
Creating the key file can reduce the security of your system if it is
not kept in a secured location after it is created.
Do you want to create the key file? y or n y
Execute the following command and reply
to the warning:
to exit WLST.
Note: In this exercise, you will configure WebCenter Spaces and Content Server in the Single Sign-
on domain. If you want to include other components, like Discussion Server, SOA, etc, you have to
commands, for example: