The application server requires a keystore to hold the certificate that identifies
Content Platform Engine and a self-signed certificate or a third-party
certificate.
Procedure
To create the keystore:
- From the command line, change to a directory where you want to create the keystore. For best results, use a directory in your application server installation directory. For example, navigate to the
WL_HOME/user_projects/domains/domain_name
directory.
- Generate a self-signed server certificate by entering the following command:
keytool -genkeypair -alias cpe-alias -keypass YourKeyPassword
-keyalg RSA -validity NumberOfDays -keystore server.keystore -storepass YourStorePassword
-dname "CN=YourHostName, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown"
Restriction: If you plan to verify the host name later, you must include the -dname
option as shown.
- Verify that the certificate was created in the keystore by entering the following
command:
keytool -list -v -keystore server.keystore -storepass YourStorePassword