sslscan

sslscan is a command-line tool used to scan and analyze SSL/TLS services on a server. It helps system administrators, security professionals, and penetration testers identify supported SSL/TLS protocols, cipher suites, and certificate details of a given host.

Usage

Usage: sslscan2 [options] [host:port | host]

OptionDescription
--targets=<file>A file containing a list of hosts to check. Hosts can be supplied with ports (host:port).
--sni-name=<name>Hostname for SNI
--ipv4, -4Only use IPv4
--ipv6, -6Only use IPv6
--show-certificateShow full certificate information
--show-certificatesShow chain full certificates information
--show-client-casShow trusted CAs for TLS client auth
--no-check-certificateDon’t warn about weak certificate algorithm or keys
--ocspRequest OCSP response from server
--pk=<file>A file containing the private key or a PKCS#12 file containing a private key/certificate pair
--pkpass=<password>The password for the private key or PKCS#12 file
--certs=<file>A file containing PEM/ASN1 formatted client certificates
--ssl2Only check if SSLv2 is enabled
--ssl3Only check if SSLv3 is enabled
--tls10Only check TLSv1.0 ciphers
--tls11Only check TLSv1.1 ciphers
--tls12Only check TLSv1.2 ciphers
--tls13Only check TLSv1.3 ciphers
--tlsallOnly check TLS ciphers (all versions)
--show-ciphersShow supported client ciphers
--show-cipher-idsShow cipher IDs
--iana-namesUse IANA/RFC cipher names rather than OpenSSL ones
--show-timesShow handshake times in milliseconds
--no-cipher-detailsDisable EC curve names and EDH/RSA key lengths output
--no-ciphersuitesDo not check for supported ciphersuites
--no-compressionDo not check for TLS compression (CRIME)
--no-fallbackDo not check for TLS Fallback SCSV
--no-groupsDo not enumerate key exchange groups
--no-heartbleedDo not check for OpenSSL Heartbleed (CVE-2014-0160)
--no-renegotiationDo not check for TLS renegotiation
--show-sigsEnumerate signature algorithms
--starttls-ftpSTARTTLS setup for FTP
--starttls-imapSTARTTLS setup for IMAP
--starttls-ircSTARTTLS setup for IRC
--starttls-ldapSTARTTLS setup for LDAP
--starttls-mysqlSTARTTLS setup for MYSQL
--starttls-pop3STARTTLS setup for POP3
--starttls-psqlSTARTTLS setup for PostgreSQL
--starttls-smtpSTARTTLS setup for SMTP
--starttls-xmppSTARTTLS setup for XMPP
--xmpp-serverUse a server-to-server XMPP handshake
--rdpSend RDP preamble before starting scan
--bugsEnable SSL implementation bug work-arounds
--no-colourDisable coloured output
--sleep=<msec>Pause between connection requests. Default is disabled
--timeout=<sec>Set socket timeout. Default is 3s
--connect-timeout=<sec>Set connect timeout. Default is 75s
--verboseDisplay verbose output
--versionDisplay the program version
--xml=<file>Output results to an XML file. Use - for STDOUT