diff --git a/bin/x509/ip-ssl-subject-api.py b/bin/x509/ip-ssl-subject-api.py index 4b2574c..b62f406 100644 --- a/bin/x509/ip-ssl-subject-api.py +++ b/bin/x509/ip-ssl-subject-api.py @@ -80,7 +80,7 @@ class SSLQueryHandler(tornado.web.RequestHandler): if not self._finished: self.finish() for ip in iplist: - s = r.smembers(ip) + s = r.smembers(str(ip)) if s: out[str(ip)] = {} out[str(ip)]['certificates'] = []