Certs and AdminClient … How to login?

I’ve been building a test environment using Docker for sometime (over and over), to validate some items within Oracle GoldenGate Microservices (current release as of writing – 19.1.0.0.1). Part of setting Oracle GoldenGate Microservices is to make the environment secure by using certificates. Per Oracle documentation, you can use Self-Signed Certificates for testing purposes (more on that in this post).

In my testing, I have built an Oracle GoldenGate 19c Microservices configuraiton with two deployments (Atlanta and New York). I can access the ServiceManager and login to the associated HTML5 pages with no problem. When I went to run items from the command line (adminclient), I wouldn’t login to the ServiceManager/Deployment due to a Network Error.

 

$ sh ./adminclient.sh
Oracle GoldenGate Administration Client for Oracle Version 19.1.0.0.1 OGGCORE_19.1.0.0.0_PLATFORMS_190524.2201
Copyright (C) 1995, 2019, Oracle and/or its affiliates.
All rights reserved. Linux, x64, 64bit (optimized) on May 25 2019 02:00:23
Operating system character set identified as US-ASCII.

OGG (not connected) 1> connect https://ogg19c:16000 deployment NewYork as oggadmin password ********

ERROR: Network error – Certificate validation error

OGG (not connected) 2> exit

 

This got me thinking and started to ask some questions internally. Which lead me to a new envionrment parameter. This enviornment variable is OGG_CLIENT_TLS_CAPATH. The OGG_CLIENT_TLS_CAPATH variable is used to specify the root certificate athority needed to login to the ServiceManager/Deployment that has been secured using the certificate … in my case, my Self-Signed Certs.

After setting the enviornment variable OGG_CLIENT_TLS_CAPATH, I can now login to the AdminClient as expected.

$ export OGG_CLIENT_TLS_CAPATH=/home/oracle/wallet/Root_CA.pem
$ sh ./adminclient.sh
Oracle GoldenGate Administration Client for Oracle Version 19.1.0.0.1 
OGGCORE_19.1.0.0.0_PLATFORMS_190524.2201
Copyright (C) 1995, 2019, Oracle and/or its affiliates.
All rights reserved. Linux, x64, 64bit (optimized) on May 25 2019 02:00:23
Operating system character set identified as US-ASCII.
OGG (not connected) 1> connect https://ogg19c:16000 deployment NewYork as oggadmin password ******** 
OGG (https://ogg19c:16000 NewYork) 2>

 

I found this quite helpful.

Enjoy!!!!

Please follow and like:
Comments
  • “[ドラゴンボールZ]新作劇場版の声優に山寺宏一と森田成一”.“. 映画『聖闘士星矢 LEGEND of SANCTUARY』. “STAFF&CAST”. 映画『SHORT PEACE』オフィシャルサイト. “『峰不二子という女』から2年–アニメ『LUPIN THE III RD 次元大介の墓標』2014年初夏、新宿バルト9にて期間限定で特別上映! “マスコミの取材マナー悪さ ネットで指摘が相次ぐ”.ロペとアキラが通う高校の先生。特別約款で定める保険事故が発生した場合に保険金が支払われる。

  • 補償金額25,000円(50,000円×50%)のうち、免責金額(5,000円×1日)を差し引いた20,000円を保険金としてお支払い。補償金額70,000円(100,000円×70%)のうち、免責金額(7,000円×2日)を差し引いた56,000円を保険金としてお支払い。入院の場合は泊数ではなく、入院日数により免責金額を計算します。万が一事故が発生した場合は東京海上日動・上記で述べたように、メタバースは負荷のかかる動作を数多く行わなければなりません。

  • Enjoy stress-free Brantford Airport Transfer with Airport Taxi Brantford, Brantford Airport Limo, and group shuttle options. Whether heading to Toronto Pearson, Hamilton, Buffalo, Niagara Falls, or Billy Bishop, reliable airport transportation is available 24/7. Book a luxury limo or affordable taxi today.

  • Efficient Airport Transfer St. Catharines services for seamless travel. Choose St. Catharines to Toronto Pearson Airport, Buffalo, or Niagara Falls. Enjoy top-notch St. Catharines Airport Shuttle Service and Airport Pickup St. Catharines for a smooth experience. Book your transfer today!

Leave a Reply

Your email address will not be published. Required fields are marked *

Enquire now

Give us a call or fill in the form below and we will contact you. We endeavor to answer all inquiries within 24 hours on business days.