Description Syntax Examples exportWalletObject

4-18 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.3.13.1 Description

This command exports a certificate signing request, certificate, certificate chain or trusted certificate present in an Oracle wallet to a file for the specified component instance Oracle HTTP Server, Oracle WebCache or Oracle Internet Directory. DN is used to indicate the object to be exported.

4.3.13.2 Syntax

exportWalletObjectinstName, compName, compType, walletName, password, type, path, DN

4.3.13.3 Examples

The following command exports a certificate signing request with DN cn=www.acme.com in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1. The certificate signing request is exported under the directory tmp: wls:mydomainserverConfig exportWalletObjectinst1, oid1, oid,wallet1, password, CertificateRequest, tmp,cn=www.acme.com The following command exports a certificate with DN cn=www.acme.com in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1. The certificate or certificate chain is exported under the directory tmp: wls:mydomainserverConfig exportWalletObjectinst1, oid1, oid,wallet1, password, Certificate, tmp,cn=www.acme.com The following command exports a trusted certificate with DN cn=www.acme.com in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1. The trusted certificate is exported under the directory tmp: wls:mydomainserverConfig exportWalletObjectinst1, oid1, oid,wallet1, password, TrustedCertificate, tmp,cn=www.acme.com The following command exports a certificate chain with DN cn=www.acme.com in wallet1, for Oracle Internet Directory instance oid1, in application server instance inst1. The certificate or certificate chain is exported under the directory tmp: wls:mydomainserverConfig exportWalletObjectinst1, oid1, oid,wallet1, password, TrustedChain, tmp,cn=www.acme.com 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, TrustedCertificate or TrustedChain. path Specifies the absolute path of the directory under which the object is exported as a file base64.txt. DN Specifies the Distinguished Name of the wallet object being exported. Infrastructure Security Custom WLST Commands 4-19

4.3.14 generateKey