Anda di halaman 1dari 2

10/28/2014 Document 331092.

1
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=17vmn5nxs1_429&id=331092.1 1/2
How to Create a New Wallet and Add a Signed Certficate Using orapki (Doc
ID 331092.1)
In this Document
Goal
Fix
APPLIES TO:
Oracle Security Service - Version 10.2.0.1 to 11.2
Information in this document applies to any platform.
***Checked for relevance on 02-Oct-2012***
GOAL
Oracle Wallet Manager, OWM, is a graphical tool used to manage Oracle Wallet. In 10g Release 1 Oracle introduced a
command line interface to allow wallets to be managed without the need to use OWM. Frin Release 10g2 extends the
functionality of orapki. In 11gRelease 2 it is now possible to completely manage the life-cycle of a wallet using orapki.
FIX
1. Create a new wallet

$ orapki wallet create -wallet /tmp -pwd welcome1

2. Add a certificate request

$ orapki wallet add -dn "cn=test,dc=test" -keysize 1024 -wallet /tmp
Enter wallet password:
3. Export the certificate request


$ orapki wallet export -wallet /tmp -dn "CN=test,DC=test" -request /tmp/newcrt.req
Enter wallet password:

4. Sign the certificate request.
10/28/2014 Document 331092.1
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=17vmn5nxs1_429&id=331092.1 2/2
5. Import the Trusted certificate from your CA

$ orapki wallet add -wallet /tmp -trusted_cert -cert /tmp/cacert.pem
Enter wallet password:
6. Import the signed user certificate


$ orapki wallet add -wallet /tmp -user_cert -cert /tmp/newcert.pem
Enter wallet password:

7. Switch the wallet to Auto Login

$ orapki wallet create -wallet /tmp -auto_login
Enter wallet password: