Actions
Bug #8527
closedProxy SSL verification fails with rest-client 1.7 and rbovirt's rest-client extensions
Description
Since #7233, when Foreman is installed with rest-client 1.7 and oVirt support, SSL connections to the smart proxy fail to verify.
ERF12-2749 [ProxyAPI::ProxyException]: Unable to get environments from Puppet ([OpenSSL::SSL::SSLError]: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verif...) for proxy https://foreman-trusty.example.com:8443/puppet"
It appears that the rest-client extensions that are added in rbovirt cause some sort of conflict. These extensions aren't needed on rest-client 1.7 and above, as the patch was merged, but they're added anyway.
https://github.com/abenari/rbovirt/blob/v0.0.30/lib/restclient_ext/request.rb
If I comment out the require for restclient_ext, the SSL comms between Foreman and the proxy work fine.
Updated by Ohad Levy about 10 years ago
- Pull request https://github.com/abenari/rbovirt/pull/45 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- Pull request added
- Pull request deleted (
https://github.com/abenari/rbovirt/pull/45)
https://github.com/abenari/rbovirt/pull/45 changes to rest-client 1.7.x, a bit of a jump.
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1987 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset e0af9fdc14bf790e54282f84efdcf283643a4825.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 28
Actions