X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=installation%2Fsdnc%2Fsrc%2Fmain%2Fscripts%2FinstallCerts.py;h=5c90af5fa43d81f8e8380f9ba4c94823360845e2;hb=6b738da7242da36816352818e03632867fb8ef46;hp=d3072847cab0b5bd71b5e926157f4ac59c396e10;hpb=685e02af6acff0082f56ed8ed7968929df87c6e4;p=sdnc%2Foam.git diff --git a/installation/sdnc/src/main/scripts/installCerts.py b/installation/sdnc/src/main/scripts/installCerts.py index d3072847..5c90af5f 100644 --- a/installation/sdnc/src/main/scripts/installCerts.py +++ b/installation/sdnc/src/main/scripts/installCerts.py @@ -2,6 +2,7 @@ # Copyright (C) 2019 Nordix Foundation. # ================================================================================ # extended by highstreet technologies GmbH (c) 2020 +# Copyright (c) 2021 Nokia Intellectual Property. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -273,6 +274,7 @@ def jks_to_p12(file, password): def make_cert_chain(cert_chain, pattern): cert_list = [] if cert_chain: + cert_chain = cert_chain.decode('utf-8') matches = re.findall(pattern, cert_chain, re.DOTALL | re.MULTILINE) for cert in matches: cert_list.append(cert.strip())