Creating keystore file on Weblogic

Hi

Follow the below steps on creating keystore file on Weblogic.

Step:1 Set the weblogic home in classpath
set Weblogic classpth using setWLSEnv.cmd

Step:2 Run CertGen to generate the certificate for your domian and key for the certificate
java utils.CertGen -cn SERVER.DOMAIN.COM -keyfilepass DemoIdentityPassPhrase -certfile mycertificate -keyfile mykey

Step 3: Create a .pem for the certificate. (PEM stands for Privacy Enhanced Mail.It is a file format used to hold digital certificates.)
java utils.ImportPrivateKey -keystore DemoIdentity.jks -storepass DemoIdentityKeyStorePassPhrase -keyfile mykey.pem -keyfilepass DemoIdentityPassPhrase -certfile mycertificate.pem -alias demoidentity

Step:4 Copy the newly created demo identity key store to $WL_HOME/server/lib directory, restart admin and node manager.

Thanks
R Vashi

Advertisements

One thought on “Creating keystore file on Weblogic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s