{"library":"nassl","title":"nassl","description":"Experimental OpenSSL wrapper for Python 3.10+ and SSLyze, providing low-level access to SSL/TLS internals including X.509 certificate extraction, OCSP stapling, and custom handshake logic. Current version 5.4.0, released approximately quarterly.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install nassl"],"cli":null},"imports":["from nassl import SslClient","from nassl import SslConnection","from nassl import CertificateInfo"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from nassl import SslClient\n\nclient = SslClient('www.google.com', 443)\nclient.do_handshake()\nprint('Server cert CN:', client.get_certificate_info().subject.get('CN'))\nclient.close()","lang":"python","description":"Basic TLS handshake with Google and print Common Name.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}