Description Syntax Examples getWalletObject

Infrastructure Security Custom WLST Commands 4-21

4.3.17 getWalletObject

Online command that displays information about a certificate or other object in an Oracle wallet.

4.3.17.1 Description

This command displays a specific certificate signing request, certificate or trusted certificate present in an Oracle wallet for the specified component instance Oracle HTTP Server, Oracle WebCache or Oracle Internet Directory. The wallet object is indicated by its index number, as given by the listWalletObjects command. For certificates or trusted certificates, it shows the certificate details including DN, key size, algorithm and other data. For certificate signing requests, it shows the subject DN, key size and algorithm.

4.3.17.2 Syntax

getWalletObjectinstName, compName, compType, walletName, password, type, index

4.3.17.3 Examples

The following command shows certificate signing request details for the object with index 0 present in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, oid1, oid,wallet1,password, CertificateRequest, 0 The following command shows certificate details for the object with index 0 present in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, oid1, oid,wallet1,password, Certificate, 0 The following command shows trusted certificate details for the object with index 0, present in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, oid1, oid,wallet1,password, TrustedCertificate, 0 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 wallet object to be exported. Valid values are CertificateRequest, Certificate, and TrustedCertificate. index Specifies the index number of the wallet object as returned by the listWalletObjects command. 4-22 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.3.18 importKeyStore