Project

General

Profile

Actions

Bug #2656

closed

error connecting to vsphere after upgrade to ruby 1.9.3

Added by Amos Benari almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I get the following error on connecting to vsphere after upgrading to ruby 1.9.3:
Errors: The remote system presented a public key with hash 96644f04c8b04c76122ca8b59d4c6bd603dd2fe7c522243458966b1df8f049c9 but we're expecting a hash of 63cac81d6b1f3c027880ad372dd1eb89fb839a5515671da8c1435dda0b708b2c. If you are sure the remote system is authentic set vsphere_expected_pubkey_hash: <the hash printed in this message> in ~/.fog


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #24526: undefined method `[]=' for #<ActiveModel::Errors:0x00563e9032deb0> with wrong ca cert on vmwareClosedIvan NecasActions
Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Category set to Compute resources
  • Target version set to 1.2.0
Actions #2

Updated by Amos Benari almost 11 years ago

Public key format changed in ruby 1.9.3 see details:

Bug in Ruby 1.9.3 [1], describes how the encoded format for RSA public keys was not the default format used by OpenSSL, but rather the encoding format specified by PKCS#1. The fix [2] shows changing PEM_read_bio_RSAPublicKey to PEM_read_bio_RSA_PUBKEY.

[1] http://bugs.ruby-lang.org/issues/show/4421
[2] http://bugs.ruby-lang.org/projects/ruby-trunk/repository/diff/ext/openssl/ossl_pkey_rsa.c?rev=31520

Actions #3

Updated by Dominic Cleal almost 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Amos Benari
Actions #5

Updated by Amos Benari almost 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Ivan Necas over 5 years ago

  • Related to Bug #24526: undefined method `[]=' for #<ActiveModel::Errors:0x00563e9032deb0> with wrong ca cert on vmware added
Actions

Also available in: Atom PDF