diff --git a/confluent_server/bin/confluentcertutil.py b/confluent_server/bin/confluentcertutil.py index ddfb908d..c9e9d5f9 100644 --- a/confluent_server/bin/confluentcertutil.py +++ b/confluent_server/bin/confluentcertutil.py @@ -15,6 +15,8 @@ def get_openssl_conf_location(): def get_ip_addresses(): lines = subprocess.check_output('ip addr'.split(' ')) + if not isinstance(lines, str): + lines = lines.decode('utf8') for line in lines.split('\n'): if line.startswith(' inet6 '): line = line.replace(' inet6 ', '').split('/')[0]