Description Syntax Example createKeyStore

Infrastructure Security Custom WLST Commands 4-13

4.3.5.3 Examples

The following command configures SSL attributes specified in the properties file tmpssl.properties for Oracle Virtual Directory instance ovd1 in application server instance inst1, for listener listener1: wls:mydomainserverConfig configureSSLinst1, ovd1, ovd, listener1,tmpssl.properties The following command configures SSL attributes without specifying a properties file. Since no file is provided, the default SSL attribute values are used: wls:mydomainserverConfig configureSSLinst1, ovd1, ovd, listener2

4.3.6 createKeyStore

Online command that creates a JKS keystore.

4.3.6.1 Description

This command creates a Java keystore JKS for the specified Oracle Virtual Directory instance. For keystore file location and other information, see the chapter Managing Keystores, Wallets, and Certificates in the Oracle Fusion Middleware Administrators Guide.

4.3.6.2 Syntax

createKeyStoreinstName, compName, compType, keystoreName, password

4.3.6.3 Example

The following command creates JKS file keys.jks with password password for Oracle Virtual Directory instance ovd1 in application server instance inst1: wls:mydomainserverConfig createKeyStoreinst1, ovd1, ovd,keys.jks, password Argument Definition instName Specifies the name of the application server instance. compName Specifies the name of the component instance. compType Specifies the type of component. Valid values are oid, ovd, ohs, and webcache. listener Specifies the name of the component listener to be configured for SSL. filePath Specifies the absolute path of the properties file containing the SSL attributes to set. Argument Definition instName Specifies the name of the application server instance. compName Specifies the name of the component instance. compType Specifies the type of component. Valid value is ovd. keystoreName Specifies the filename of the keystore file to be created. password Specifies the keystore password. 4-14 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.3.7 createWallet