HP QC connector install_gems.rb script results in certificate verification failure
search cancel

HP QC connector install_gems.rb script results in certificate verification failure

book

Article ID: 214032

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

When trying to execute the install_gems.rb script, certificate errors as shown below are received:

C:\...>ruby install_gems.rb
ERROR:  Could not find a valid gem 'xml-simple' (= 1.1.2), here is why:
          Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)
  ... xml-simple installed

ERROR:  Could not find a valid gem 'xml-simple' (= 1.1.2) in any repository
  ... rallyeif-wrk installed

 

Cause

This can be caused when the network is using deep packet inspection firewalls and ruby does not have the necessary certificates to sign data that is being sent to the firewall.

Resolution

Unpack the zip file attached to the case

Open a command prompt and change directory to the location where the files are unpacked

Run the following commands:

gem install rubygems-update
gem install xml-simple
gem install httpclient
gem install multipart-post
gem install faraday
gem install mime-types

 

Next change directory into the connector directory and then into the gems directory

gem install rally_api-1.2.1.gem  
gem install rallyeif-qc-4.8.6.gem  
gem install rallyeif-wrk-1.3.2.gem  
gem install rally_hp_alm_api-1.0.5.gem

 

All supporting files are now installed and you may move to the configuration portion referenced in the documentation

Additional Information

keywords: alm agile central rally

Attachments

1624635742363__install_gems.zip get_app