我按照Sensu页面上的说明,在“视窗”部分下。我得到以下错误:
PS C:\Tools\sensu\embedded\bin> gem install sensu-plugin --no-rdoc --no-ri
ERROR: Could not find a valid gem 'sensu-plugin' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz)发布于 2015-01-21 02:49:47
您安装的rubygems要么在SSL链中缺少CA证书,要么它与rubygems.org上的SSL证书链不匹配。
作为的解决方案,可以指定非安全的 rubygems.org作为源:
gem install sensu-plugin --source=http://rubygems.org然而,更好的和更永久的解决方案是纠正SSL认证链错误。
首先,确保您的openSSL与最新版本(1.0.1k,我相信是当前版本)是最新的。
然后更新rubygems:
gem update --system然后按常规安装gems,例如
gem install sensu-pluginhttps://stackoverflow.com/questions/27990898
复制相似问题