Description Syntax Examples removeWalletObject

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

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

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

4.3.27.2 Syntax

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

4.3.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 we pass null denoted by None for the DN parameter: wls:mydomainserverConfig removeWalletObjectinst1, oid1, oid,wallet1, 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. Infrastructure Security Custom WLST Commands 4-29 password, TrustedAll,None The following command removes a certificate signing request indicated by DN cn=www.acme.com from wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1: wls:mydomainserverConfig removeWalletObjectinst1, oid1, oid,wallet1, password, CertificateRequest,cn=www.acme.com