Description Syntax Examples removeKeyStoreObject

Infrastructure Security Custom WLST Commands 4-27

4.3.25 listWallets

Online command that lists all wallets configured for a component instance.

4.3.25.1 Description

This command displays all the wallets configured for the specified component instance Oracle HTTP Server, Oracle WebCache or Oracle Internet Directory, and identifies the auto-login wallets.

4.3.25.2 Syntax

listWalletsinstName, compName, compType

4.3.25.3 Example

The following command lists all wallets for Oracle Internet Directory instance oid1 in application server instance inst1: wls:mydomainserverConfig listWalletsinst1, oid1, oid

4.3.26 removeKeyStoreObject

Online command that removes an object from a keystore.

4.3.26.1 Description

This command removes a certificate request, certificate, trusted certificate, or all trusted certificates from a Java keystore JKS for Oracle Virtual Directory. Use an alias to remove a specific object; no alias is needed if all trusted certificates are being removed.

4.3.26.2 Syntax

removeKeyStoreObjectinstName, compName, compType, keystoreName, password, type, alias 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 ohs, oid, and webcache. 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 name of the keystore file. password Specifies the password of the keystore. type Specifies the type of the keystore object to be removed. Valid values are Certificate, TrustedCertificate or TrustedAll. alias Specifies the alias of the keystore object to be removed. 4-28 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.3.26.3 Examples

The following command removes a certificate or certificate chain denoted by alias mykey in keys.jks, for Oracle Virtual Directory instance ovd1, in application server instance inst1: wls:mydomainserverConfig removeKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, Certificate,mykey The following command removes a trusted certificate denoted by alias mykey in keys.jks, for Oracle Virtual Directory instance ovd1, in application server instance inst1: wls:mydomainserverConfig removeKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, TrustedCertificate,mykey The following command removes all trusted certificates in keys.jks, for Oracle Virtual Directory instance ovd1, in application server instance inst1. Since no alias is required, the value None is passed for that parameter: wls:mydomainserverConfig removeKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, TrustedAll,None

4.3.27 removeWalletObject