2.39 DECRYPTTRAIL

Valid for

Extract, Replicat

Description

Use DECRYPTTRAIL to decrypt Oracle GoldenGate trails that were encrypted by an upstream Extract process (for information on ENCRYPTTRAIL see "ENCRYPTTRAIL | NOENCRYPTTRAIL"). Specify DECRYPTTRAIL only when the ENCRYPTTRAIL parameter is specified in the upstream Extract process.

Syntax

DECRYPTTRAIL ← (Deprecated)
DECRYPTTRAIL (GGS) ← (Deprecated)
DECRYPTTRAIL (<AES>, KEYNAME <name>)

AES can be AES, AES128, AES192, or AES256.

The default is AES256.

Extract

Input trail

DecryptTrail is assumed automatically when extract sees the flag in the fileheader saying the trail is encrypted. It is only necessary to specify DecryptTrail when the trail is encrypted using an AES master key other than DEFAULT.

If no encryption method is specified, then GGS encryption is assumed.

AES encrypted trails to and from OpenSy must always use the ENCKEYS file and a keyname and not the Oracle wallet.

When you use the ENCKEYS method, ensure that an ENCKEYS file that has the master key exists in the deployment_home/etc/conf/ogg directory.

If you want to send an encrypted trail files from Oracle GoldenGate OpenSys to Oracle GoldenGate for HP NonStop, then you need to use the ENCKEYS method to encrpyt the trail file on OpenSys first. For more information about encrypting trail files using ENCKEYS on Oracle GoldenGate OpenSys, see the following topics in the Administering Oracle GoldenGate for HP NonStop.

Output trail

Prior to the Oracle GoldenGate for HP NonStop 19.1.0.0.0 release, EncryptTrail/NoEncryptTrail could be toggled around EXTTRAIL/RMTTRAIL parameters. Starting HP Non Stop 19.1.0.0.0 release, this has been deprecated and needs to be replaced with the trail specific option. For more information about specifying encryption explicitly for each output trail, see any of the following topics: EXTFILE, EXTTRAIL, RMTFILE, or RMTTRAIL.

Replicat

Example

Using DECRYPTTRAIL parameter with keyname option in the Replicat Parameter File

DECRYPTTRAIL AES192, KEYNAME mykey1