Project

General

Profile

Actions

Bug #14387

closed

SSLv3 remains enabled on Ruby 1.8.7

Added by Brandon Weeks over 8 years ago. Updated about 6 years ago.

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

Description

During testing of Foreman 1.11 I noticed the changes made in #12572 did not effectively disable SSLv3 and caused disparate SSL/TLS protocols to be enabled with Ruby 1.8.7 (EL6) and later version of Ruby (EL7 and other systems).


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #14719: Allow TLSv1 for compatibility with some clients.Rejected04/19/2016Actions
Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/401 added
Actions #2

Updated by Brandon Weeks over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Translation missing: en.field_release set to 141
Actions #4

Updated by Jason Smith over 8 years ago

After updating and testing foreman 1.11, our custom php scripts that talk to the foreman proxy through the REST API no longer work. I even tried applying the patch mentioned in this bug, but it still doesn't work. After some debugging and looking at the php documentation, the problem is that TLSv1 would still not be allowed in 1.11.1. According to some user comments in the php documentation:

http://php.net/manual/en/function.curl-setopt.php#115993

Setting php to use TLSv1 or above will only work if you have curl 7.34 or newer. Note, RHEL6 comes with curl 7.19 and RHEL7 comes with curl 7.29. To maintain compatibility with still supported RHEL versions and allow custom 3rd party scripts written in php to connect to the foreman-proxy REST API, this line also needs to be removed from lib/launcher.rb:

ssl_options |= OpenSSL::SSL::OP_NO_TLSv1 if defined?(OpenSSL::SSL::OP_NO_TLSv1)

If you are uncomfortable allowing this, then a config setting that could specify the allowed ssl protocols, like apache has, would be useful for those who require this level of compatibility.

Actions #5

Updated by Dominic Cleal over 8 years ago

This ticket's closed, so it's not a good place to try and get something fixed. You would be better off filing a new ticket or better, a pull request with your proposed change so it can be discussed with the maintainers.

Actions #6

Updated by Jason Smith over 8 years ago

  • Related to Bug #14719: Allow TLSv1 for compatibility with some clients. added
Actions

Also available in: Atom PDF