Hello Tony,
Config server can encrypt a plain text password and place it in a file and section of our choice. Try this out.
1- Create a pass.txt file and place your password under a section. Here, my
pass.txt has only the below two lines where
abc123 is the plain text password which I would like to encrypt placed under a section [Section1].
C:\EncrypTest\pass.txt file content:[Section1]
password=abc123
2. Now, run an instance of config server executable by passing -c and -p parameters like below. The executable self terminates after adding the encrypted password to pass.txt without interfering with any running instance of configuration server.
C:\GCTI\APPS\CS> .\confserv.exe -c C:\EncrypTest\pass.txt -p Section1 "abc123"
where
-c is the full path to the pass.txt file
-p is in the format <section name in the pass.txt file under which the plain password is placed> "Password in plain text"
3- Result:
C:\GCTI\APPS\CS> .\confserv.exe -c C:\EncrypTest\pass.txt -p Section1 "abc123"
Genesys Configuration Server. Version 8.5.101.60
Copyright (c) 1997-2020 Genesys Telecommunications Laboratories, Inc.
Build information :
Description : (Content Freeze)
Timestamp : Jan 27 2021 23:23:20
Version : 8.5.101.60
Components :
Configuration library v.8.5.100.40
Common library v.8.5.100.80 C2 MT-Safe
Service library v.8.5.100.35 MT
Message library v.8.5.100.22
Log library v.8.5.100.49 MT
LCA library v.8.5.100.33
Thread library v.8.5.100.31
DBServer library v.8.5.101.30
Genesys License library v.none
License library v.none
Stat Script library v.8.5.106.05
Database password encrypted in the configuration file
4- The pass.txt after the command execution.
[Section1]
password=004028550714770F <<~~ Encrypted password
[confserv] <<~~ Added automatically by confserv executable
encryption=true
Source doc [Encrypting the Configuration Database Password]:
https://docs.genesys.com/Documentation/FR/Current/Dep/DepCS#t-0Note: I haven't tested the encrypted password generated this way works on silent installation.
------------------------------
Vinod Balan
Genesys - Employees
------------------------------
Original Message:
Sent: 05-06-2021 14:56
From: Tony Morrow
Subject: How to Encrypt Password for Silent Install Xpassword field?
In many of the Genesys installations packages, there is a silent_install.ini file. And it mentions you can use the 'xpassword=' field to enter an encrypted password.
[ConfigServer]
Host=<Host name>
Port=<Port number>
User=<User name>
; Password of Genesys Configuration Server.
; The password can be specified in encrypted or none encrypted form:
; xPassword - is used to specify the encrypted password;
; Password - is used to specify the non encrypted password;
; Only one of these keys must be specified in ini file.
;xPassword=<User's encrypted password>
Password=<User's none encrypted password>
Does anyone know how to generate the encrypted password? I've tried everything. Even opened a ticket with support. But nothing has worked.
Thanks in advance!
#Implementation
#PlatformAdministration
#SystemAdministration
#Unsure/Other
------------------------------
Tony Morrow
------------------------------