Integration Guide: Oracle Database 11G Transparent Data Encryption and Ncipher Modules
Integration Guide: Oracle Database 11G Transparent Data Encryption and Ncipher Modules
Integration Guide: Oracle Database 11G Transparent Data Encryption and Ncipher Modules
These installation instructions are intended to provide step-by-step instructions for installing nCipher software
with third-party software. These instructions do not cover all situations and are intended as a supplement to the
nCipher documentation provided with nCipher products.
Disclaimer: nCipher Corporation Ltd disclaims all liabilities regarding third-party products and only provides
warranties and liabilities with its own products as addressed in the Terms and Conditions for Sale. nCipher is a
registered trademark of nCipher Corporation Limited. Any other trademarks referenced in this document are
the property of the respective trademark owners. © Copyright 2008 nCipher Corporation Ltd, Cambridge,
United Kingdom.
Contents
1. INTRODUCTION.................................................................................................................. 3
2. OVERVIEW ........................................................................................................................... 3
3. TESTING ................................................................................................................................ 3
4. SUPPORTED NCIPHER FUNCTIONALITY ................................................................... 3
5. REQUIREMENTS ................................................................................................................. 4
6. PROCEDURES ...................................................................................................................... 4
7. INSTALLING AND CONFIGURING THE NCIPHER MODULE................................. 4
8. INSTALLING ORACLE DATABASE 11G........................................................................ 5
9. CONFIGURING AND TESTING TRANSPARENT DATA ENCRYPTION (TDE) ..... 5
10. CONFIGURING ORACLE DATABASE 11G TDE WITH NCIPHER PKCS #11...... 6
11. TROUBLESHOOTING ...................................................................................................... 8
12. FURTHER INFORMATION.............................................................................................. 9
1. Introduction
This guide explains how to integrate an nCipher module (nShield or a netHSM) with the
Oracle Database 11g Transparent Data Encryption (TDE). It assumes that you have read the
nShield QuickStart Guide and the netHSM QuickStart Guide and are familiar with the
documentation and setup process for the Oracle Database 11g TDE.
Note: All nCipher documentation is available at: http://www.ncipher.com/documentation.
2. Overview
Oracle Database 11g TDE transparently encrypts the data stored in or retrieved from the Oracle
database. It supports both table space and column-level encryption in the database.
The nCipher module secures the database server master encryption key used to encrypt and
decrypt the keys used in column-level Transparent Data Encryption.
The nCipher module is used in place of the Oracle Wallet to provide a higher level of security
assurance. The integration also provides the following key benefits:
• The keys never leave the module as plain text.
• The life cycle of the database master encryption key is managed completely.
• The hardware is validated to the FIPS 140 standards.
• Fail-over support is available.
The industry standard PKCS #11 API is used to integrate the Oracle Database 11g TDE and
the nCipher module.
3. Testing
The integration between the nCipher module and the Oracle Database 11g TDE has been tested
for the following combinations:
Oracle
nCipher PCI Ethernet
Operating System Database
Version Support Support
Version
5. Requirements
Before you begin the integration process:
• Read the nShield QuickStart Guide or the netHSM QuickStart Guide as appropriate.
• Familiarize yourself with the documentation and setup process for the Oracle Database
11g TDE.
Before running the setup program, you need to know:
• The number and quorum of Administrator Cards in the Administrator Card Set (ACS) and
the policy for managing these cards.
• Whether the application keys are protected by the module or an Operator Card Set (OCS)
with pass phrase.
• The number and quorum of Operator Cards in the OCS and the policy for managing these
cards.
• Whether the security world is compliant with FIPS 140-2 at level 3.
For more information on administering an nCipher module, see the nShield User Guide or the
netHSM User Guide as appropriate.
6. Procedures
To integrate an nCipher module with Oracle Database 11g TDE, you need to:
1. install and configure and nCipher module
2. install Oracle Database 11g
3. configure Transparent Data Encryption (TDE)
4. configure Oracle 11g Transparent Data Encryption (TDE) with the PKCS #11 library
• CKNFAST_LOADSHARING=1
• CKNFAST_NO_ACCELERATOR_SLOTS=1
5. Initialize a security world and create a 1 of N Operator Card Set. Ensure that your
Operator Card password has a minimum of eight alphanumeric characters.
For more information, see the nCipher PKCS #11 library environment variables in the nShield
User Guide or the netHSM User Guide as appropriate.
11. Troubleshooting
The following table describes problems you might encounter when configuring an nCipher
module with Oracle 11g TDE.
Problem Action/Solution
ORA-28376: cannot find PKCS11 Check the PKCS#11 library path and confirm
library that the lib path is correct.
For example, in Solaris 10 SPARC, the lib path
must be:
/opt/oracle/extapi/64/hsm/ncipher/1.58.21/libck
nfast.so.
ORA-28353: failed to open Ensure that the HSM wallet pass phrase is
wallet correct.
ORA-00600: internal error code, Ensure that you have added an Oracle user in
arguments: [kzthsmgmk: the /etc/group as follows:
C_GenerateKey], [6], [],[], [],
[], [], [] nfast::100:oracle
Contact details
nCipher Corporation nCipher Inc.
Cambridge, UK Boston Metro Region, USA