Description Syntax Examples importWalletObject

Configuring SSL in Oracle Fusion Middleware 6-57

6.9.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.

6.9.25.2 Syntax

listWalletsinstName, compName, compType

6.9.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

6.9.26 removeKeyStoreObject

Online command that removes an object from a keystore.

6.9.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.

6.9.26.2 Syntax

removeKeyStoreObjectinstName, compName, compType, keystoreName, password, type, alias

6.9.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: 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. 6-58 Oracle Fusion Middleware Administrators Guide 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

6.9.27 removeWalletObject

Online command that removes a certificate or other object from an Oracle wallet.

6.9.27.1 Description

This command removes a certificate signing request, certificate, trusted certificate or all trusted certificates from an Oracle wallet for the specified component instance Oracle HTTP Server, Oracle WebCache or Oracle Internet Directory. DN is used to indicate the object to be removed.

6.9.27.2 Syntax

removeWalletObjectinstName, compName, compType, walletName, password, type, DN

6.9.27.3 Examples

The following command removes all trusted certificates from wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1. It is not necessary to provide a DN, so you pass null denoted by None for the DN parameter: wls:mydomainserverConfig removeWalletObjectinst1, oid1, oid,wallet1, password, TrustedAll,None 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. walletName Specifies the name of the wallet file. password Specifies the password of the wallet. type Specifies the type of the keystore object to be removed. Valid values are CertificateRequest, Certificate, TrustedCertificate or TrustedAll. DN Specifies the Distinguished Name of the wallet object to be removed.