Monday, July 7, 2014

In previous post, I explained how to apply OWSM policy to OSB proxy service. When we test that secure proxy service sometime we may get below error.

Error: [OSB Security - OWSM:387253]Failed to initialize Owsm Credential Manager. Please validate the Keystore Configuration.

Cause: This error occurs because keystore is not configured.

Resolution: we need to configure keystore to resolve this error.

Follow below steps to generate key store file and configure it in console.

We will use Java Keytool utility to generate key store. Key tool utility comes with java installer so you need not to install it sperately if you have java installed in your system.

Step 1:  Go to any java bin folder e.g.  C:\Oracle\Middleware\jdk160_24\bin



Step 2: Run below command to generate key store.

keytool -genkeypair -keyalg RSA -alias demokey -keypass welcome1 -keystore Demokeystore.jks -storepass welcome1

you also need to answer some of the questions.



You will see one file “Demokeystore.jks” created in the folder.

Step 3: Move that file to below location.

C:\Oracle\Middleware\user_projects\domains\base_domain\config\fmwconfig

Now we need to configure this key store in em console.

Step 4: Go to em console and go to Weblogic Domain à {domain_name}. Right click on domain and go to Security à Security Provider Configuration.



Click on “Configure” button under KeyStore option.

Provide key store file path and password (welcome1).

Make sure you enter same signature & encryption key name that you mentioned while creating key store.



Save and restart your server.

0 comments :

Post a Comment