diff options
author | 2020-11-19 14:13:45 +0100 | |
---|---|---|
committer | 2020-11-25 11:51:01 +0000 | |
commit | 3bbc1c7cb0400aea0235d130d36841e64ae53727 (patch) | |
tree | 5869914631aa91cb10983b1cd43f31fc7c1310ec /tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py | |
parent | 330676fd2868c5adb52d1faccc913fbe52db6449 (diff) |
Update CertService tests for changed ejbca profile
- Introduce ejbca profiles with new Sans types - email, ip, uri
- Update CertService tests for changed SANs delimiter
Issue-ID: OOM-2632
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: Ie6791d08f0b6143fbcec9572edb10004769ffe00
Diffstat (limited to 'tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py')
-rw-r--r-- | tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py b/tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py index 54e8d0ff..34512cd2 100644 --- a/tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py +++ b/tests/oom-platform-cert-service/certservice/libraries/ArtifactParser.py @@ -21,7 +21,7 @@ class ArtifactParser: def get_sans(self, cert): extension = cert.to_cryptography().extensions.get_extension_for_oid(ExtensionOID.SUBJECT_ALTERNATIVE_NAME) dnsList = extension.value.get_values_for_type(x509.DNSName) - return ':'.join(map(lambda dns: dns.encode('ascii','ignore'), dnsList)) + return ','.join(map(lambda dns: dns.encode('ascii','ignore'), dnsList)) def get_envs_as_dict(self, list): envs = self.get_list_of_pairs_by_mappings(list) |