DSEE7 Internal ERROR<21256> & ERROR<4804> When Indexing With Attribute Encryption Enabled. (Doc ID 1427195.1)

Last updated on OCTOBER 11, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version: 6.0 to 11.1.1.5.0 - Release: 6.0 to 11gR1
This problem can occur on any platform.

Symptoms

  ODSEE version  11.1.1.5.0, Administration

When attempting to set up vlv indexing on a server that has attribute encryption enabled using "3des" encryption, after initialization of the suffix with data, with the encryption in place, upon any attempt to reindex configured VLV indexes we see the error takes place.

ERROR
-----------------------
[16/Dec/2011:19:29:33 -0700] - ERROR<21256> - Backend Database - conn=-1 op=-1 msgId=-1 - Encryption plugin (ckm_des3_cbc): failed to decrypt.
[16/Dec/2011:19:29:33 -0700] - ERROR<4804> - Encryption - conn=-1 op=-1 msgId=-1 - Internal error Missing security initialization required by attribute encryption.
[16/Dec/2011:19:29:33 -0700] - ERROR<4806> - Encryption - conn=-1 op=-1 msgId=-1 - Internal error Cannot encrypt/decrypt: missing crypto key for mechanism ckm_des3_cbc.

Testcase Reproduction:
-----------------------
The issue can be reproduced at will with the following steps:
1. Set up attribute encryption and import data into the configuration based on
 - http://docs.oracle.com/cd/E20295_01/html/821-1220/bcaeg.html#scrolltoc
2. Attempt to re-index a VLV browsing index

Business Impact
-----------------------
It appears that VLV indexing fails on systems that have encrypted attributes configured

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms