Description Syntax Example exportKeyStore

6-48 Oracle Fusion Middleware Administrators Guide

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

6.9.14 generateKey

Online command that generates a key pair in a Java keystore.

6.9.14.1 Description

This command generates a key pair in a Java keystore JKS for Oracle Virtual Directory. It also wraps the key pair in a self-signed certificate. Only keys based on the RSA algorithm are generated.

6.9.14.2 Syntax

generateKeyinstName, compName, compType, keystoreName, password, DN, 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. Argument Definition