Uploaded image for project: 'Puppet Forge (moved to puppet.atlassian.net)'
  1. Puppet Forge (moved to puppet.atlassian.net)
  2. FORGE-325

Forge location redirects fail SSL verification in Ruby 1.8 (CentOS 6)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
      • Centos 6.7
      • Ruby 1.8.7
      • Puppet 3.8.7

    Description

      Hey,

      I noticed that puppet-3.8 cannot query the forge endpoint when using the puppet command in one group of my environments. This may be related to FORGE-314

      [root@x log]# ruby -v
      ruby 1.8.7 [........]
       
      [root@x log]# ruby -ropen-uri -e 'URI("https://forge.puppetlabs.com").read'
      /usr/lib/ruby/1.8/openssl/ssl-internal.rb:131:in `post_connection_check': hostname was not match with the server certificate (OpenSSL::SSL::SSLError)
      	from /usr/lib/ruby/1.8/net/http.rb:588:in `connect'
      	from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
      	from /usr/lib/ruby/1.8/net/http.rb:542:in `start'
      	from /usr/lib/ruby/1.8/open-uri.rb:242:in `open_http'
      	from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
      	from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
      	from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
      	from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
      	from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
      	from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
      	from /usr/lib/ruby/1.8/open-uri.rb:526:in `read'
      	from -e:1
      

      [root@x log]# bundle exec puppet module search nginx
      Notice: Searching https://forgeapi.puppetlabs.com ...
      Error: hostname was not match with the server certificate
      Error: Try 'puppet help module search' for usage
       
      [root@x log]# bundle exec puppet --version
      3.8.7
      [root@x log]# 
      

      Attachments

        Activity

          People

            daniel.dreier Daniel Dreier
            jonkelley Jonathan Kelley
            Votes:
            14 Vote for this issue
            Watchers:
            19 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support