My Oracle Support Banner

ERROR: Invalid Argument 'ggcs' While Adding Master Key Name In (Doc ID 2512578.1)

Last updated on AUGUST 23, 2021

Applies to:

Oracle GoldenGate - Version and later
Information in this document applies to any platform.


Customer faced challenges while configuring wallet for encrypting the trail files.
When they were trying to specify a masterkey with add masterkey command it throws error.
But when they use the default oracle masterkey then it does not throw an error.

Following commands were used to create the wallet which is a wrong syntax when used with

$ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version OGGCORE_12.
AIX 6, ppc, 64bit (optimized), Oracle 11g on Dec 10 2018 02:32:27
Operating system character set identified as US-ASCII.
Copyright (C) 1995, 2018, Oracle and/or its affiliates. All rights reserved.

GGSCI > open wallet
Opened wallet.

GGSCI > add masterkey ogg
ERROR: Invalid argument 'ogg'.

GGSCI > add masterkey ggcs
ERROR: Invalid argument 'ggcs'.

GGSCI > add masterkey
2019-02-06T12:40:57Z INFO OGG-06142 Created version 1 of master key 'OGG_DEFAULT_MASTERKEY' in Oracle Wallet.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.