summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajay_dp001 <ajay.deep.singh@est.tech>2020-04-07 01:03:28 +0530
committerajay_dp001 <ajay.deep.singh@est.tech>2020-04-07 01:19:20 +0530
commit926b17ef2bd841b4372c701859864c23cd612077 (patch)
treeea400a8a1bbed6722c8c499f028ca6e1da5fd438
parentcf698af66c0f9d9e90c4bd94bdb68782fafea518 (diff)
Failure encountered while execution of installCerts.py script
fails to convert keystore.jks/truststore.jks to keystore.p12/truststore.p12 Issue-ID: SDNC-1150 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I1ef77602b56199ab2c8f9223fdd3c2e6a1878c22 Former-commit-id: cb65f50142671a9f8bda4a7a65ead714aae2691a
-rw-r--r--installation/sdnc/src/main/scripts/installCerts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/installation/sdnc/src/main/scripts/installCerts.py b/installation/sdnc/src/main/scripts/installCerts.py
index a8133d5f..ae5d5b3b 100644
--- a/installation/sdnc/src/main/scripts/installCerts.py
+++ b/installation/sdnc/src/main/scripts/installCerts.py
@@ -221,9 +221,9 @@ def timeIncrement(timePassed):
def get_pass(file_name):
try:
- with open(file_name , 'r') as file_obj:
+ with open(file_name, 'r') as file_obj:
password = file_obj.read().strip()
- return password
+ return "'{}'".format(password)
except Exception as e:
logging.error("Error occurred while fetching password : %s", e)
exit()