Try OpenEdge Now
skip to main content
Core Business Services - Security and Auditing
Transparent Data Encryption : OpenEdge Key Store : Key store maintenance : Rebind
 
Rebind
Rebind allows you to bind an existing key store file to a new database GUUID created with the PROCOPY -newinstance command. The following example demonstrates PROUTIL EPOLICY MANAGE KEYSTORE REBIND. Observe that the first REBIND command fails because the key store is not copied with the PROCOPY command. There is no need to prompt for passphrases in this example because autostart is configured for the admin account:
proenv>procopy src_db dest_db -newinstance
OpenEdge Release 10.2B1P as of Fri Nov 20 19:01:52 EST 2009
Procopy session begin for shannon on CON:. (451)

Formatting extents:
size area name path name
8 Primary Recovery Area C:\OE102BWrk\dest_db.b1 00:00:00
16 Schema Area C:\OE102BWrk\dest_db.d1 00:00:00
16 Info Area C:\OE102BWrk\dest_db_7.d1 00:00:00
16 Customer/Order Area C:\OE102BWrk\dest_db_8.d1 00:00:00
16 Primary Index Area C:\OE102BWrk\dest_db_9.d1 00:00:00
64 Customer Index Area C:\OE102BWrk\dest_db_10.d1 00:00:01
64 Order Index Area C:\OE102BWrk\dest_db_11.d1 00:00:00
256 Encryption Policy Area C:\OE102BWrk\dest_db_12.d1 00:00:00
64 Encryption Policy Area C:\OE102BWrk\dest_db_12.d2 00:00:00
16 Audit Area C:\OE102BWrk\dest_db_20.d1 00:00:00
16 Audit Index C:\OE102BWrk\dest_db_22.d1 00:00:00

Copying src_db to dest_db... (6715)

Start writing data blocks. (6718)
01:15:53 10 Percent complete.
01:15:53 20 Percent complete.
01:15:54 30 Percent complete.
01:15:54 40 Percent complete.
01:15:54 50 Percent complete.
01:15:54 60 Percent complete.
01:15:54 70 Percent complete.
01:15:54 80 Percent complete.
01:15:54 90 Percent complete.
01:15:54 100 Percent complete.
1862 blocks copied. (6720)

...Copy complete. (6722)
Database copied from src_db. (1365)
Procopy session end. (334)

proenv>proutil dest_db -C epolicy manage keystore rebind
OpenEdge Release 10.2B1P as of Fri Nov 20 19:01:52 EST 2009
Key store validation error -449: (keystore) missing key-store file {02020364}
(15568)

proenv>cp src_db.ks dest_db.ks

proenv>proutil dest_db -C epolicy manage keystore rebind
OpenEdge Release 10.2B1P as of Fri Nov 20 19:01:52 EST 2009
Key store rebind: new database guid successfully created. (15512)
Key store rebind operations have completed successfully. (15514)
Note: KEYSTORE REBIND is not interruptible. If the operation does not successfully complete, you need to re-copy the original key store and re-issue the KEYSTORE REBIND command.