Previous Next JavaScript must be enabled to correctly display this content

## 3.2 Keystore Creation

This topic provides the information about keystore creation.

    keytool -genkeypair -keystore <keystore_name.jks> -alias <alias_name> -dname
    "CN=<hostname>, OU=<Organization Unit>, O=<Organization>, L=<Location>, ST=<State>,
    C=<Country_Code>" -keyalg <Key Algorithm> -sigalg <Signature Algorithm> -keysize <key size>
    -validity <Number of Days> -keypass <Private key Password> -storepass <Store Password>

Example:

    keytool -genkeypair -keystore AdminOBVAMKeyStore.jks -alias OBVAMCert -dname
    "CN=ofss00001.in.example.com, OU=OFSS, O=OFSS, L=Chennai, ST=TN, C=IN" -keyalg "RSA"
    -sigalg "SHA1withRSA" -keysize 2048 -validity 3650 -keypass Password@123 -storepass
    Password@123

Note:

CN=ofss00001.in.example.com is the Host Name of the weblogic server

Parent topic: Obtain the Identity Store