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

Conditionally use HTTPS based on platform_version #240

Merged
merged 1 commit into from Oct 15, 2015

Commits on Oct 15, 2015

  1. Conditionally use HTTPS based on platform_version

    Following #225.
    
    CentOS 5 and earlier use an older version of yum, which embeds an older
    version of M2Crypto, that when used against a modern cipher set (i.e. no
    sslv3), fails when trying to retrieve the signing key with:
    
        ...
          File "/usr/lib64/python2.4/site-packages/M2Crypto/SSL/Connection.py",
    line 167, in connect_ssl
            return m2.ssl_connect(self.ssl, self._timeout)
        M2Crypto.SSL.SSLError: sslv3 alert handshake failure
    
    There doesn't seem to be any patches to update this behavior, so instead
    switch on SSL for any system older than 6.x, continue to use http to
    retrieve the key.
    miketheman committed Oct 15, 2015
    Copy the full SHA
    aa63739 View commit details
    Browse the repository at this point in the history