Description Syntax Example getSSL

Configuring SSL in Oracle Fusion Middleware 6-53

6.9.19.3 Examples

The following command imports a certificate or certificate chain from file cert.txt into keys.jks, using alias mykey for Oracle Virtual Directory instance ovd1, in application server instance inst1. The file keys.jks must already have an alias mykey for a key-pair whose public key matches that in the certificate being imported: wls:mydomainserverConfig importKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, Certificate,tmpcert.txt, mykey The following command imports a trusted certificate from file trust.txt into keys.jks using alias mykey1, for Oracle Virtual Directory instance ovd1 in application server instance inst1: wls:mydomainserverConfig importKeyStoreObjectinst1, ovd1, ovd,keys.jks, password, TrustedCertificate,tmptrust.txt, mykey1

6.9.20 importWallet

Online command that imports an Oracle wallet from a file.

6.9.20.1 Description

This command imports an Oracle wallet from a file to the specified component instance Oracle HTTP Server, Oracle WebCache, or Oracle Internet Directory for manageability. If the wallet being imported is an auto-login wallet, the file path must point to cwallet.sso; if the wallet is password-protected, it must point to ewallet.p12. The wallet name must be unique for the component instance.

6.9.20.2 Syntax

importWalletinstName, compName, compType, walletName, password, filePath

6.9.20.3 Examples

The following command imports the auto-login wallet file tmpcwallet.sso as wallet1 into Oracle Internet Directory instance oid1. Subsequently, the wallet is managed with the name wallet1. No password is passed since it is an auto-login wallet: wls:mydomainserverConfig importWalletinst1, oid1, oid, wallet1, , tmpcwallet.sso alias Specifies the alias to assign to the keystore object to be imported. 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 being imported. The name must be unique for the component instance. password Specifies the password of the wallet. filePath Specifies the absolute path of the wallet file being imported. Argument Definition