Issue #5233 has been updated by Yui NARUSE. Status changed from Closed to Assigned This breaks tests on CentOS 5.6 (but not Ubuntu 10.04, FreeBSD 8, 9). http://c5664.rubyci.org/~chkbuild/ruby-1.9.3/log/20120210T173209Z.diff.html.gz Maybe more some commits are needed. ---------------------------------------- Backport #5233: OpenSSL::SSL::SSLSocket has problems with encodings other than "ascii" https://bugs.ruby-lang.org/issues/5233 Author: Niklas Baumstark Status: Assigned Priority: Normal Assignee: Martin Bosslet Category: Target version: The attached script shows the issue. It expects a combined cert/private key in the file server.pem under the current directory (also attached). Under Ruby 1.9.2p290, the script prints "str.size is 50848 (expecting 100000)". As a workaround the string encoding can be forced to "ascii" before the write. -- http://bugs.ruby-lang.org/