Description Syntax Examples configureSSL

4-12 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.3.3.3 Example

The following command changes the password of file keys.jks for Oracle Virtual Directory instance ovd1 in application server instance inst1: wls:mydomainserverConfig changeKeyStorePasswordinst1, ovd1, ovd,keys.jks, currpassword, newpassword

4.3.4 changeWalletPassword

Online command that changes the password of an Oracle wallet.

4.3.4.1 Description

This command changes the password of an Oracle wallet for the specified component instance Oracle HTTP Server, Oracle WebCache or Oracle Internet Directory. This command is only applicable to password-protected wallets.

4.3.4.2 Syntax

changeWalletPasswordinstName, compName, compType, walletName,currPassword, newPassword

4.3.4.3 Example

The following command changes the password for wallet1 from currpassword to newpassword for Oracle HTTP Server instance ohs1 in application server instance inst1: wls:mydomainserverConfig changeWalletPasswordinst1, ohs1, ohs,wallet1, currpassword, newpassword

4.3.5 configureSSL

Online command that sets SSL attributes.

4.3.5.1 Description

This command sets the SSL attributes for a component listener. The attributes are specified in a properties file format name=value. If a properties file is not provided, or it does not contain any SSL attributes, default attribute values are used. For component-specific SSL attribute value defaults, see the chapter SSL Configuration in Oracle Fusion Middleware in the Oracle Fusion Middleware Administrators Guide.

4.3.5.2 Syntax

configureSSLinstName, compName, compType, listener, filePath 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, ohs, and webcache. walletName Specifies the filename of the wallet. currPassword Specifies the current wallet password. newPassword Specifies the new wallet password. 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