[Bug 1208917] Re: Openssl build version discrepancy

Nigel Smith gb10hkzo-spa at yahoo.co.uk
Tue Aug 6 20:42:33 UTC 2013


> What version of the openssl packages are you using?

Doesn't it say that in my Apport output ?  ;-)   
Basically whatever you get on a fully patched up 12.04LTS system..... so openssl 1.0.1-4ubuntu5.10  ?


> It would also help if 

Sure, just point it to a mail server of your choice that has STARTTLS
enabled.....

if (!($manage = fsockopen("smtp.com",25,$errno,$errstr,15))) { echo "Unable to connect";}
$cmd="EHLO X\r\n";
fwrite($manage,$cmd);
$cmd="STARTTLS\r\n";
fwrite($manage,$cmd);
if (false==stream_socket_enable_crypto($manage,true,STREAM_CRYPTO_METHOD_TLS_CLIENT)) { echo "no TLS";}


Result is the same
PHP Warning:  stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number in

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1208917

Title:
  Openssl build version discrepancy

Status in “openssl” package in Ubuntu:
  Incomplete

Bug description:
  Description:    Ubuntu 12.04.2 LTS
  Release:        12.04

  The sample php script attached returns "PHP Warning:
  stream_socket_enable_crypto(): SSL operation failed with code 1.
  OpenSSL Error messages:error:1408F10B:SSL
  routines:SSL3_GET_RECORD:wrong version number in /home/bp/test2.php on
  line 3"

  A quick bit of internet research suggests there is a discrepancy
  between the version of openssl PHP was built against and the system
  version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1208917/+subscriptions




More information about the foundations-bugs mailing list