diff --git a/ssl_checker.py b/ssl_checker.py index fb7869f..68c4f98 100755 --- a/ssl_checker.py +++ b/ssl_checker.py @@ -200,7 +200,7 @@ def show_result(user_args): try: cert = get_cert(host, port, user_args) context[host] = get_cert_info(host, cert) - context[host]['tcp_port'] = port + context[host]['tcp_port'] = int(port) # Analyze the certificate if enabled if user_args.analyze: