Database Reference
In-Depth Information
4.
This will generate the
default-keystore.jks
keystore, which is protec-
ted with a store password valid for 3600 days, in the
fmwconfig
directory.
5.
If you have received a security certificate from a trusted CA, import it to your
keystore. An example is demonstrated with the following command:
keytool -importcert -alias
trustcer
-file
trusted.cer
-keystore
default-keystore.jks
-storepass
welcome123
6.
Alternatively you can generate your own self-signed certificate and then im-
port it to the keystore. For example:
keytool -exportcert -v -alias
selfcer
-keystore
default-keystore.jks
-storepass
welcome123
-rfc -file
selfsign.cer
7.
Next, you will need to configure the application server to use this keystore
by logging in to Oracle Enterprise Manager Fusion Middleware Control and
navigating to
WebLogic Domain
|
Farm_[Domain_Name]
|
Security
|
Se-
curity Provider Configuration
.
8.
Select
Configure
in the
Keystore
section and provide a password to access
the keystore and the key alias (
storekey
as alias and
welcome123
as
password). As stated earlier, for the sake of this chapter the same alias is
used for both these keys. However, they can be different.