Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS Alert - Wrong version number in version 0.6. #14

Closed
burgerzoid opened this issue Nov 10, 2014 · 1 comment
Closed

TLS Alert - Wrong version number in version 0.6. #14

burgerzoid opened this issue Nov 10, 2014 · 1 comment

Comments

@burgerzoid
Copy link

We are running sslyze 0.6 and are overall very happy with it, however we are getting errors checking SSL certs on certain web servers.

The problem is response of:
certinfo exception="utils.SSLyzeSSLConnection.SSLHandshakeRejected - TLS Alert - Wrong version number"

This only occurs when checking a small number of HTTPS servers.

I realise this is an old version, and the problems we are having may have been resolved in more current releases, however at the moment we are not able to upgrade due to the version of python (2.6) on our monitoring servers.

Are you able to provide any advice on how we could resolve this while continuing to run version 0.6?

@nabla-c0d3
Copy link
Owner

It most likely has to do with the fact that 0.6 doesn't try to find which TLS version the server will accept - it just always uses TLS 1.0 even if the server doesn't support it:
https://github.com/nabla-c0d3/sslyze/blob/ctypes-openssl-wrapper/plugins/PluginCertInfo.py#L354

You would have to first try a bunch of versions and figure out which one to use like here in the current version of sslyze:
https://github.com/nabla-c0d3/sslyze/blob/master/utils/ServersConnectivityTester.py#L226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants