Crypto initialization problem

Created: 5 February 2010  Modified:

Originally published on chrislynch.info website.

  1. Shutdown all the repositories on the target server
  2. Backup the database
  3. Rename the AEK file or rename it and move it some where else
  4. From sql on the database, run the following statements:

    SQL> update dm_docbase_config_s set i_crypto_key = ‘ ‘.

  5. SQL> update dm_docbase_config_s set i_ticket_crypto_key = ‘ ‘.
  6. SQL> select r_object_id from dmi_vstamp_s where i_application = ‘dm_docbase_config_crypto_key_init’;
  7. SQL> delete from dmi_object_type where r_object_id = ‘returned r_object_id from above’;
  8. SQL> commit;
  9. SQL> delete from dmi_vstamp_s where r_object_id = ‘returned r_object_id from step above’
  10. SQL> commit;
  11. SQL> select r_object_id from dmi_vstamp_s where i_application = ‘dm_docbase_config_ticket_crypto_key_init’;
  12. SQL> delete from dmi_object_type where r_object_id = ‘returned r_object_id from above’;
  13. SQL> delete from dmi_vstamp_s where r_object_id = ‘returned r_object_id from step above’
  14. SQL> commit
  15. run this file from $DM_HOME/bin: dm_crypto_create
    • To re-encrypt the dbpasswd.txt file do the following: cd $DM_HOME/bin
  16. dm_encrypt_password -docbase -rdbms -encrypt
  17. You need to do all modification on the database for each repository except step 15. This should only be done once.
  18. Startup the repositories.
tags: blog - old blog - Documentum
   Memory is Fleeting