Description Syntax Examples exportWalletObject

6-50 Oracle Fusion Middleware Administrators Guide

6.9.15.3 Examples

The following command shows a trusted certificate with index 1 present in keys.jks, for Oracle Virtual Directory instance ovd1, in application server instance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, TrustedCertificate, 1 The following command shows a certificate with index 1 present in keys.jks, for Oracle Virtual Directory instance ovd1, in application server instance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, Certificate, 1

6.9.16 getSSL

Online command that lists the configured SSL attributes.

6.9.16.1 Description

This command lists the configured SSL attributes for the specified component listener. For Oracle Internet Directory, the listener name is always sslport1.

6.9.16.2 Syntax

getSSLinstName, compName, compType, listener

6.9.16.3 Example

The following command shows the SSL attributes configured for Oracle Internet Directory instance oid1, in application server instance inst1, for listener sslport1: wls:mydomainserverConfig getSSLinst1, oid1, oid, sslport1

6.9.17 getWalletObject

Online command that displays information about a certificate or other object in an Oracle wallet. type Specifies the type of the keystore object to be listed. Valid values are Certificate and TrustedCertificate. index Specifies the index number of the keystore object as returned by the listKeyStoreObjects command. 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 ovd, oid, ohs, and webcache. listener Specifies the name of the component listener. Argument Definition Configuring SSL in Oracle Fusion Middleware 6-51

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

6.9.17.2 Syntax

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

6.9.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 serverinstance inst1: wls:mydomainserverConfig getKeyStoreObjectinst1, oid1, oid,wallet1,password, TrustedCertificate, 0

6.9.18 importKeyStore

Online command that imports a keystore from a file. 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.