Exporting a Wallet Using WLST

Managing Keystores, Wallets, and Certificates 8-29 ■ Use the navigation pane to locate the instance for example, an Oracle HTTP Server instance that will use the wallet. After locating your component instance, there are two ways you can access a wallets certificate management page in Fusion Middleware Control: ■ Go to the Wallets page, select the line for the wallet of interest and click Manage. ■ Go to the Wallets page, locate the wallet of interest, and click on the wallet name. On the Certificate Management page, you can: ■ Add a certificate request. ■ Export a certificate request, a certificate, or a trusted certificate. ■ Import a certificate or a trusted certificate. ■ Delete a certificate request, a certificate, or a trusted certificate.

8.4.7 Common Certificate Operations

This section describes the following common certificate operations: ■ Adding a Certificate Request Using Fusion Middleware Control ■ Adding a Certificate Request Using WLST ■ Exporting a Certificate, Certificate Request, or a Trusted Certificate Using Fusion Middleware Control ■ Exporting a Certificate, Certificate Request, or a Trusted Certificate Using WLST ■ Importing a Certificate or a Trusted Certificate Using Fusion Middleware Control ■ Importing a Certificate or a Trusted Certificate Using WLST ■ Deleting a Certificate Request, a Certificate, or a Trusted Certificate Using Fusion Middleware Control ■ Deleting a Certificate Request, a Certificate, or a Trusted Certificate Using WLST ■ Converting a Self-Signed Certificate into a Third-Party Certificate Using Fusion Middleware Control ■ Converting a Self-Signed Certificate into a Third-Party Certificate Using WLST

8.4.7.1 Adding a Certificate Request Using Fusion Middleware Control

It is possible to add a certificate request at the time you create the wallet, but if it was not done at that time, you can do so using the following steps: 1. Navigate to the Certificate Management page. See Section 8.4.6, Accessing the Certificate Management Page for Wallets in Fusion Middleware Control. 2. Click Add Certificate Request. 3. A dialog box appears where you enter the CRs DN values: Note: You can use Setup to discover a specific Oracle WebLogic Server domain to work with. 8-30 Oracle Fusion Middleware Administrators Guide Fields marked with an asterisk are required. 4. Click OK. 5. The new CR is generated and a dialog box appears with the CR in the text box. You can either: ■ Copy and paste the Base64-encoded certificate request to a file. ■ Export it directly to a file with the Export Certificate Request button.

8.4.7.2 Adding a Certificate Request Using WLST

Assuming the instance name is inst1, use this command to add a certificate request for a wallet: addCertificateRequestinst1, oid1, oid, selfsigned, password, subject_ dn, key_size where password is the password for this wallet, subject_dn is the distinguished name by which the certificate request is generated and key_size is the key size in bits. 8.4.7.3 Exporting a Certificate, Certificate Request, or a Trusted Certificate Using Fusion Middleware Control Take these steps to export a certificate, a certificate request CR, or a trusted certificate: 1. Navigate to the Certificate Management page. See Section 8.4.6, Accessing the Certificate Management Page for Wallets in Fusion Middleware Control. 2. Select the certificate, CR, or trusted certificate and click Export.