D2-Lockbox
D2-Lockbox
Lockbox is a component of the RSA Common Security Toolkit (CST) which securely stores passwords for Documentum D2 in an encrypted file. The stored passwords are put as <key, value> pairs. Lockbox uses keys to store and retrieve the passwords. Documentum D2 uses Lockbox that were earlier present as clear text in the various properties files, such as D2FS.properties, d2fs-trust.properties, D2-JMS.properties, and D2-Config.properties.
The Lockbox configuration for D2 can be done in either of the following ways:
- Using the new D2 Configurator Utility – Configure the lockbox through the configurator: D2-Configurator-4.5.0.jar file.
- Manual configuration of D2 Lockbox
On CS
- Copy LB.jar and LBJNI.jar that are extracted from the D2 installer into <Documentum install path>\<Jboss version>\server\DctmServer_MethodServer\lib folder
- set PATH=C:\Documentum\D2\Lockbox\win_vc80_x64;%PATH%
- set CLASSPATH=<D2 install path>\C6-Common-<version>.jar;<lockbox install path>\LB.jar;<lockbox install path>\LBJNI.jar;%CLASSPATH%
- Generate lockbox file and set D2.passphrase
java.exe –cp “C:\Program Files\EMC\D2\C6-Common-4.5.0.jar;C:\Documentum\D2\Lockbox\LB.jar;C:\Documentum\D2\Lockbox\LBJNI.jar” com.emc.common.java.crypto.SetLockboxProperty C:\Lockbox D2Method.passphrase #1Password
- We can create a passphrase using java PassphraseGenerator:
java com.emc.common.java.crypto.PassphraseGenerator <length>
On JMS
- Copy the D2.lockbox file generated in <Documentum-root>/<JBoss-version>/server/DctmServer_MethodServer/deployments/ServerApps.ear/APP-INF/classes/
- Create emc/d2/lockbox/main folder under <Documentum install path>/<JBoss version>/modules/ & Copy LB.jar and LBJNI.jar files that are extracted by the D2 installer to the main/ folder
- Create module.xml for these 2 jar entries.
- Add dependencies in jboss deployment xml file.
On AS
Need to configure the lockboxPath entry both in D2-Config and D2 client applications:
D2 Config
- In D2-Config application, D2-Config.properties file contains lockboxPath properties entry. The file path of this properties file is located at :
<webapp root>\webapps\D2-Config\WEB-INF\classes\D2-Config.properties
- Open the above file in a text editor and search for the string “lockboxPath”. By default, this entry would be commented. Uncomment and specify the fully qualified folder path of D2.lockbox file.
D2 Client
- In D2 application, D2FS.properties file contains lockboxPath properties entry. The file path of this properties file is as under:
<webapp root>\webapps\D2\WEB-INF\classes\D2FS.properties
- Open the above file in a text editor and search for the string “lockboxPath”. By default, this entry would be commented. Uncomment and specify the fully qualified folder path of D2.lockbox file
- Lastly Copy lockbox librariesjar and LBJNI.jar into AS webapps.
Restart Environment
The system hostname key is missing from the Lockbox – Regenerate the lockbox file again by running the installer through admin command line pointing to the supported java.
Deployed LB onto the JMS (D2 Lockbox on Content Server), Set the dll path:
$:\Documentum\D2\Lockbox\win_vc80_ia32\LBJNIWrappers.dll
java Dclb.library.path=C:\Documentum\D2\Lockbox\win_vc80_x64 com.emc.common.java.crypto.SetLockboxProperty C:\Progra~1\EMC\D2\lockbox D2Method.passphrase $Pass123
Comments
Post a Comment