User's Manual
orapki Utility Commands Summary
E-12 Oracle Database Advanced Security Administrator's Guide
orapki wallet add
Purpose
Use this command to add certificate requests and certificates to an Oracle wallet.
Syntax
To add certificate requests:
orapki wallet add -wallet <wallet_location> -dn <user_dn> -keySize
<512|1024|2048>
■ The -wallet parameter specifies the location of the wallet to which you want
to add a certificate request.
■ The -dn parameter specifies the distinguished name of the certificate owner.
■ The -keySize parameter specifies the key size for the certificate.
■ To sign the request, export it with the export option. See "orapki wallet export"
on page E-13
To add trusted certificates:
orapki wallet add -wallet <wallet_location> -trusted_cert -cert <certificate_
location>
■ The -trusted_cert parameter causes the tool to add the trusted certificate, at
the location specified with -cert, to the wallet.
To add root certificates:
orapki wallet add -wallet <wallet_location> -dn <certificate_dn> -keySize
<512|1024|2048> -self_signed -validity <number_of_days>
■ The -self_signed parameter causes the tool to create a root certificate.
■ The -validity parameter is mandatory. Use it to specify the number of days,
starting from the current date, that this root certificate will be valid.
To add user certificates:
orapki wallet add -wallet <wallet_location> -user_cert -cert <certificate_
location>
■ The -user_cert parameter causes the tool to add the user certificate at the
location specified with the -cert parameter to the wallet. Before you add a