Skip to content

Simple command line utility to check TLS version and other TCP handshake details

License

Notifications You must be signed in to change notification settings

mmalcek/tlscheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tlscheck

Simple command line utility to check TLS version and other TCP handshake details

Can be usefull e.g. to check SMTP TLS version

command line arguments

  • -a Server address (e.g. myserver.com)
  • -p Server port (e.g. 443)
  • -i Insecure/accepts any certificate
  • -tmin Min allowed TLS version (SSL, 1.0, 1.1, 1.2, 1.3) default SSL
  • -tmax Max allowed TLS version (SSL, 1.0, 1.1, 1.2, 1.3) default 1.3

Output

Output is valid yaml formated e.g.

tlscheck.exe -a smtp.seznam.cz -p 465
handshakeOK: true
tlsVersion: TLS 1.3
cipher: TLS_AES_256_GCM_SHA384
chains:
    - - name: www.seznam.cz
        issuer: CN=R3,O=Let's Encrypt,C=US
        validFrom: "2021-12-07 15:01:15"
        validTo: "2022-03-07 15:01:14"
        dns:
            - seznam.cz
            - www.seznam.cz
        issuingCertificateURL:
            - http://r3.i.lencr.org/
        isCA: false
      - name: R3
        issuer: CN=ISRG Root X1,O=Internet Security Research Group,C=US
        validFrom: "2020-09-04 00:00:00"
        validTo: "2025-09-15 16:00:00"
        issuingCertificateURL:
            - http://x1.i.lencr.org/
        isCA: true
      - name: ISRG Root X1
        issuer: CN=ISRG Root X1,O=Internet Security Research Group,C=US
        validFrom: "2015-06-04 11:04:38"
        validTo: "2035-06-04 11:04:38"
        isCA: true

About

Simple command line utility to check TLS version and other TCP handshake details

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages