This is really a question you should ask the git folks… their README might be helpful. As for rebuilding git, I suggest you have a look at their INSTALL, where you will find nothing about OpenSSL, but everything about libcurl, which is a HTTP transport library that uses, among others, OpenSSL:
- Git is reasonably self-sufficient, but does depend on a few external
programs and libraries. ...
...
- "libcurl" library is used by git-http-fetch, git-fetch, and, if
the curl version >= 7.34.0, for git-imap-send. You might also
want the "curl" executable for debugging purposes. If you do not
use http:// or https:// repositories, and do not want to put
patches into an IMAP mailbox, you do not have to have them
(use NO_CURL).
So all in all, you will need to build newer versions of OpenSSL, libcurl and git, at the very least… and to build git, you will need to make sure that you have installed the development packages for everything else that you want git to use.
For further information specifically about git, I suggest that you talk with the git folks, as they are much better informed than any of us. The README I pointed at has the contact details.
При попытке запустить эту команду, выходит эта ошибка
$ php composer.phar update You are running Composer with SSL/TLS protection disabled. Loading composer repositories with package information [ComposerDownloaderTransportException] curl error 35 while downloading https://repo.packagist.org/packages.json: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-autoloader] [--no-scripts] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
Версия php
$ php -v PHP 5.4.45 (cli) (built: Sep 2 2015 23:48:30) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
Вывод команды
php -i
$ php -i
phpinfo()
PHP Version => 5.4.45
System => Windows NT PC7816 6.2 build 9200 (Windows 8 Business Edition) i586
Build Date => Sep 2 2015 23:45:53
Compiler => MSVC9 (Visual C++ 2008)
Architecture => x86
Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:php-sdkoracleinstantclient10sdk,shared" "--with-oci8=C:php-sdkoracleinstantclient10sdk,shared" "--with-oci8-11g=C:php-sdkoracleinstantclient11sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:windows
Loaded Configuration File => D:openservermodulesphpPHP_5.4php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20100412
PHP Extension => 20100525
Zend Extension => 220100525
Zend Extension Build => API220100525,TS,VC9
PHP Extension Build => API20100525,TS,VC9
Debug Build => no
Thread Safety => enabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => disabled
Registered PHP Streams => php, file, glob, data, http, ftp, zip, compress.zlib, compress.bzip2, https, ftps, phar
Registered Stream Socket Transports => tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters => convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
_______________________________________________________________________
Configuration
bcmath
BCMath support => enabled
Directive => Local Value => Master Value
bcmath.scale => 0 => 0
bz2
BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010
calendar
Calendar support => enabled
Core
PHP Version => 5.4.45
Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => d:/openserver/userdata/logs/PHP_5.4_error.log => d:/openserver/userdata/logs/PHP_5.4_error.log
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
exit_on_timeout => Off => Off
expose_php => Off => Off
extension_dir => d:/openserver/modules/php/PHP_5.4/ext => d:/openserver/modules/php/PHP_5.4/ext
file_uploads => On => On
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .;d:/openserver/modules/php/PHP_5.4;d:/openserver/modules/php/PHP_5.4/pear/pear;d:/openserver/modules/php/PHP_5.4/MDB2;d:/openserver/modules/php/PHP_5.4/smarty/libs;d:/openserver/modules/php/PHP_5.4/smarty/libs/plugins => .;d:/openserver/modules/php/PHP_5.4;d:/openserver/modules/php/PHP_5.4/pear/pear;d:/openserver/modules/php/PHP_5.4/MDB2;d:/openserver/modules/php/PHP_5.4/smarty/libs;d:/openserver/modules/php/PHP_5.4/smarty/libs/plugins
log_errors => On => On
log_errors_max_len => 1024 => 1024
mail.add_x_header => On => On
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 1536M => 1536M
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 50M => 50M
precision => 14 => 14
realpath_cache_size => 4M => 4M
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => Off => Off
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => d:openservermodulessendmailsendmail.exe -local => d:openservermodulessendmailsendmail.exe -local
serialize_precision => 17 => 17
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 50M => 50M
upload_tmp_dir => d:/openserver/userdata/temp/upload => d:/openserver/userdata/temp/upload
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
windows.show_crt_warning => Off => Off
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.multibyte => Off => Off
zend.script_encoding => no value => no value
ctype
ctype functions => enabled
curl
cURL support => enabled
cURL Information => 7.42.1
Age => 3
Features
AsynchDNS => Yes
Debug => No
GSS-Negotiate => No
IDN => No
IPv6 => Yes
Largefile => Yes
NTLM => Yes
SPNEGO => Yes
SSL => Yes
SSPI => Yes
krb4 => No
libz => Yes
CharConv => No
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Host => i386-pc-win32
SSL Version => OpenSSL/0.9.8zf
ZLib Version => 1.2.7
libSSH Version => libssh2/1.5.0
date
date/time support => enabled
"Olson" Timezone Database Version => 2016.9
Timezone Database => external
Default timezone => Europe/Moscow
Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => Europe/Moscow => Europe/Moscow
dom
DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.7.8
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled
enchant
enchant support => enabled
Version => 1.1.0
Libenchant Version => 1.5.0 or later
Revision => $Id: 0eb8144f76f6744a423c3c05eb51932caa4ca17e $
ereg
Regex Library => Bundled library enabled
exif
EXIF Support => enabled
EXIF Version => 1.4 $Id: 05041c5f0094cb46d9b516bd624d593b90cc38f9 $
Supported EXIF Version => 0220
Supported filetypes => JPEG,TIFF
Directive => Local Value => Master Value
exif.decode_jis_intel => JIS => JIS
exif.decode_jis_motorola => JIS => JIS
exif.decode_unicode_intel => UCS-2LE => UCS-2LE
exif.decode_unicode_motorola => UCS-2BE => UCS-2BE
exif.encode_jis => no value => no value
exif.encode_unicode => ISO-8859-15 => ISO-8859-15
fileinfo
fileinfo support => enabled
version => 1.0.5
filter
Input Validation and Filtering => enabled
Revision => $Id: ad78b4a085153b8c7f4d6db5dc69df40e969c343 $
Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value
ftp
FTP support => enabled
gd
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.4.10
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.2.50
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1
gettext
GetText Support => enabled
hash
hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b fnv132 fnv164 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
iconv
iconv support => enabled
iconv implementation => "libiconv"
iconv library version => 1.14
Directive => Local Value => Master Value
iconv.input_encoding => ISO-8859-1 => ISO-8859-1
iconv.internal_encoding => ISO-8859-1 => ISO-8859-1
iconv.output_encoding => ISO-8859-1 => ISO-8859-1
imagick
imagick module => enabled
imagick module version => 3.4.1
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version => ImageMagick 6.8.9-1 Q16 x86 2014-05-08 http://www.imagemagick.org
Imagick using ImageMagick library version => ImageMagick 6.8.9-1 Q16 x86 2014-05-08 http://www.imagemagick.org
ImageMagick copyright => Copyright (C) 1999-2014 ImageMagick Studio LLC
ImageMagick release date => 2014-05-08
ImageMagick number of supported formats: => 229
ImageMagick supported formats => 3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BIE, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CLIPBOARD, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPS, DPX, DXT1, DXT5, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FPX, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPEG, JPG, JPT, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV
Directive => Local Value => Master Value
imagick.locale_fix => 0 => 0
imagick.progress_monitor => 0 => 0
imagick.skip_version_check => 0 => 0
json
json support => enabled
json version => 1.2.1
libxml
libXML support => active
libXML Compiled Version => 2.7.8
libXML Loaded Version => 20708
libXML streams => enabled
mbstring
Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 4.7.1
Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => pass => pass
mbstring.http_output => pass => pass
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml+xml) => ^(text/|application/xhtml+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value
mcrypt
mcrypt support => enabled
mcrypt_filter support => enabled
Version => 2.5.8
Api No => 20021217
Supported ciphers => cast-128 gost rijndael-128 twofish cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes arcfour
Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream
Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value
mhash
MHASH support => Enabled
MHASH API Version => Emulated Support
mysql
MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
Directive => Local Value => Master Value
mysql.allow_local_infile => Off => Off
mysql.allow_persistent => On => On
mysql.connect_timeout => 60 => 60
mysql.default_host => no value => no value
mysql.default_password => no value => no value
mysql.default_port => 3306 => 3306
mysql.default_socket => no value => no value
mysql.default_user => no value => no value
mysql.max_links => Unlimited => Unlimited
mysql.max_persistent => Unlimited => Unlimited
mysql.trace_mode => Off => Off
mysqli
MysqlI Support => enabled
Client API library version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0
Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqlnd
mysqlnd => enabled
Version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
Compression => supported
SSL => supported
Command buffer size => 4096
Read buffer size => 32768
Read timeout => 86400
Collecting statistics => Yes
Collecting memory statistics => No
Tracing => n/a
Loaded plugins => mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
API Extensions => mysql,mysqli,pdo_mysql
mysqlnd statistics =>
bytes_sent => 0
bytes_received => 0
packets_sent => 0
packets_received => 0
protocol_overhead_in => 0
protocol_overhead_out => 0
bytes_received_ok_packet => 0
bytes_received_eof_packet => 0
bytes_received_rset_header_packet => 0
bytes_received_rset_field_meta_packet => 0
bytes_received_rset_row_packet => 0
bytes_received_prepare_response_packet => 0
bytes_received_change_user_packet => 0
packets_sent_command => 0
packets_received_ok => 0
packets_received_eof => 0
packets_received_rset_header => 0
packets_received_rset_field_meta => 0
packets_received_rset_row => 0
packets_received_prepare_response => 0
packets_received_change_user => 0
result_set_queries => 0
non_result_set_queries => 0
no_index_used => 0
bad_index_used => 0
slow_queries => 0
buffered_sets => 0
unbuffered_sets => 0
ps_buffered_sets => 0
ps_unbuffered_sets => 0
flushed_normal_sets => 0
flushed_ps_sets => 0
ps_prepared_never_executed => 0
ps_prepared_once_executed => 0
rows_fetched_from_server_normal => 0
rows_fetched_from_server_ps => 0
rows_buffered_from_client_normal => 0
rows_buffered_from_client_ps => 0
rows_fetched_from_client_normal_buffered => 0
rows_fetched_from_client_normal_unbuffered => 0
rows_fetched_from_client_ps_buffered => 0
rows_fetched_from_client_ps_unbuffered => 0
rows_fetched_from_client_ps_cursor => 0
rows_affected_normal => 0
rows_affected_ps => 0
rows_skipped_normal => 0
rows_skipped_ps => 0
copy_on_write_saved => 0
copy_on_write_performed => 0
command_buffer_too_small => 0
connect_success => 0
connect_failure => 0
connection_reused => 0
reconnect => 0
pconnect_success => 0
active_connections => 0
active_persistent_connections => 0
explicit_close => 0
implicit_close => 0
disconnect_close => 0
in_middle_of_command_close => 0
explicit_free_result => 0
implicit_free_result => 0
explicit_stmt_close => 0
implicit_stmt_close => 0
mem_emalloc_count => 0
mem_emalloc_amount => 0
mem_ecalloc_count => 0
mem_ecalloc_amount => 0
mem_erealloc_count => 0
mem_erealloc_amount => 0
mem_efree_count => 0
mem_efree_amount => 0
mem_malloc_count => 0
mem_malloc_amount => 0
mem_calloc_count => 0
mem_calloc_amount => 0
mem_realloc_count => 0
mem_realloc_amount => 0
mem_free_count => 0
mem_free_amount => 0
mem_estrndup_count => 0
mem_strndup_count => 0
mem_estndup_count => 0
mem_strdup_count => 0
proto_text_fetched_null => 0
proto_text_fetched_bit => 0
proto_text_fetched_tinyint => 0
proto_text_fetched_short => 0
proto_text_fetched_int24 => 0
proto_text_fetched_int => 0
proto_text_fetched_bigint => 0
proto_text_fetched_decimal => 0
proto_text_fetched_float => 0
proto_text_fetched_double => 0
proto_text_fetched_date => 0
proto_text_fetched_year => 0
proto_text_fetched_time => 0
proto_text_fetched_datetime => 0
proto_text_fetched_timestamp => 0
proto_text_fetched_string => 0
proto_text_fetched_blob => 0
proto_text_fetched_enum => 0
proto_text_fetched_set => 0
proto_text_fetched_geometry => 0
proto_text_fetched_other => 0
proto_binary_fetched_null => 0
proto_binary_fetched_bit => 0
proto_binary_fetched_tinyint => 0
proto_binary_fetched_short => 0
proto_binary_fetched_int24 => 0
proto_binary_fetched_int => 0
proto_binary_fetched_bigint => 0
proto_binary_fetched_decimal => 0
proto_binary_fetched_float => 0
proto_binary_fetched_double => 0
proto_binary_fetched_date => 0
proto_binary_fetched_year => 0
proto_binary_fetched_time => 0
proto_binary_fetched_datetime => 0
proto_binary_fetched_timestamp => 0
proto_binary_fetched_string => 0
proto_binary_fetched_blob => 0
proto_binary_fetched_enum => 0
proto_binary_fetched_set => 0
proto_binary_fetched_geometry => 0
proto_binary_fetched_other => 0
init_command_executed_count => 0
init_command_failed_count => 0
com_quit => 0
com_init_db => 0
com_query => 0
com_field_list => 0
com_create_db => 0
com_drop_db => 0
com_refresh => 0
com_shutdown => 0
com_statistics => 0
com_process_info => 0
com_connect => 0
com_process_kill => 0
com_debug => 0
com_ping => 0
com_time => 0
com_delayed_insert => 0
com_change_user => 0
com_binlog_dump => 0
com_table_dump => 0
com_connect_out => 0
com_register_slave => 0
com_stmt_prepare => 0
com_stmt_execute => 0
com_stmt_send_long_data => 0
com_stmt_close => 0
com_stmt_reset => 0
com_stmt_set_option => 0
com_stmt_fetch => 0
com_deamon => 0
bytes_received_real_data_normal => 0
bytes_received_real_data_ps => 0
example statistics =>
stat1 => 0
stat2 => 0
odbc
ODBC Support => enabled
Active Persistent Links => 0
Active Links => 0
ODBC library => Win32
Directive => Local Value => Master Value
odbc.allow_persistent => On => On
odbc.check_persistent => On => On
odbc.default_cursortype => Static cursor => Static cursor
odbc.default_db => no value => no value
odbc.default_pw => no value => no value
odbc.default_user => no value => no value
odbc.defaultbinmode => return as is => return as is
odbc.defaultlrl => return up to 4096 bytes => return up to 4096 bytes
odbc.max_links => Unlimited => Unlimited
odbc.max_persistent => Unlimited => Unlimited
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 0.9.8zf 19 Mar 2015
OpenSSL Header Version => OpenSSL 0.9.8zf 19 Mar 2015
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.37 2015-04-28
Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.recursion_limit => 100000 => 100000
PDO
PDO support => enabled
PDO drivers => mysql, pgsql, sqlite
pdo_mysql
PDO Driver for MySQL => enabled
Client API version => mysqlnd 5.0.10 - 20111026 - $Id: c85105d7c6f7d70d609bb4c000257868a40840ab $
pdo_pgsql
PDO Driver for PostgreSQL => enabled
PostgreSQL(libpq) Version => 8.3.3
Module version => 1.0.2
Revision => $Id: 8e4cc97fb53f418d98b489c3e9d722e48446e676 $
pdo_sqlite
PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.8.10.2
Phar
Phar: PHP Archive support => enabled
Phar EXT version => 2.0.1
Phar API version => 1.1.1
SVN revision => $Id: ba734629367f9671b25202408d13914fa63d8396 $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => enabled
OpenSSL support => enabled
Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On
Reflection
Reflection => enabled
Version => $Id: f6367cdb4e3f392af4a6d441a6641de87c2e50c4 $
session
Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php php_binary wddx
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 3600 => 3600
session.gc_probability => 1 => 1
session.hash_bits_per_character => 5 => 5
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => d:/openserver/userdata/temp => d:/openserver/userdata/temp
session.serialize_handler => php => php
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_trans_sid => 0 => 0
SimpleXML
Simplexml support => enabled
Revision => $Id: 16070fc92ad6f69cebb2d52ad3f02794f833ce39 $
Schema support => enabled
soap
Soap Client => enabled
Soap Server => enabled
Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => d:/openserver/userdata/temp => d:/openserver/userdata/temp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400
sockets
Sockets Support => enabled
SPL
SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
sqlite3
SQLite3 support => enabled
SQLite3 module version => 0.7
SQLite Library => 3.8.10.2
Directive => Local Value => Master Value
sqlite3.extension_dir => no value => no value
standard
Dynamic Library Support => enabled
Path to sendmail => d:openservermodulessendmailsendmail.exe -local
Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
from => no value => no value
url_rewriter.tags => a=href,area=href,frame=src,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset=
user_agent => no value => no value
timezonedb
Alternative Timezone Database => enabled
Timezone Database Version => 2016.9
tokenizer
Tokenizer Support => enabled
wddx
WDDX Support => enabled
WDDX Session Serializer => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.7.8
xmlreader
XMLReader => enabled
xmlrpc
core library version => xmlrpc-epi v. 0.51
php extension version => 0.51
author => Dan Libby
homepage => http://xmlrpc-epi.sourceforge.net
open sourced by => Epinions.com
xmlwriter
XMLWriter => enabled
xsl
XSL => enabled
libxslt Version => 1.1.27
libxslt compiled against libxml Version => 2.7.8
EXSLT => enabled
libexslt Version => 0.8.16
zip
Zip => enabled
Extension Version => $Id: 6c872ebfb022206b0cc2a183c7a388c7b6ad8685 $
Zip version => 1.11.0
Libzip version => 0.10.1
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.2.7
Linked Version => 1.2.7
Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value
Additional Modules
Module Name
Environment
Variable => Value
ALLUSERSPROFILE => C:ProgramData
ANSICON => 239x32766 (239x56)
ANSICON_DEF => 7
APPDATA => C:Usersramazanov.aAppDataRoaming
CG_BOOST_ROOT => C:Program Files (x86)EmbarcaderoRAD Studio7.0includeboost_1_39
CommonProgramFiles => C:Program Files (x86)Common Files
CommonProgramFiles(x86) => C:Program Files (x86)Common Files
CommonProgramW6432 => C:Program FilesCommon Files
COMPUTERNAME => PC7816
ComSpec => C:windowssystem32cmd.exe
ConEmuANSI => ON
ConEmuAnsiLog =>
ConEmuArgs => /Single
ConEmuArgs2 =>
ConEmuBackHWND => 0x002407C2
ConEmuBaseDir => D:openservermodulesconemuConEmu
ConEmuBaseDirShort => D:OpenServermodulesconemuConEmu
ConEmuBuild => 210422
ConEmuCfgDir => D:openservermodulesconemu
ConEmuConfig =>
ConEmuDir => D:openservermodulesconemu
ConEmuDrawHWND => 0x00310378
ConEmuDrive => D:
ConEmuHooks => Enabled
ConEmuHWND => 0x004E043A
ConEmuPalette => <ConEmu>
ConEmuPID => 10624
ConEmuServerPID => 4404
ConEmuTask => {Shells::cmd}
ConEmuWorkDir => d:openserver
ConEmuWorkDrive => d:
DataGrip => C:Program FilesJetBrainsDataGrip 2021.1.1bin;
DriverData => C:WindowsSystem32DriversDriverData
HOME => d:openserver
HOMEDRIVE => d:
HOMEPATH => openserver
LOCALAPPDATA => C:Usersramazanov.aAppDataLocal
LOGONSERVER => \DC1
NUMBER_OF_PROCESSORS => 4
OneDrive => C:Usersramazanov.aOneDrive
OneDriveConsumer => C:Usersramazanov.aOneDrive
OPENSSL_CONF => d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21confopenssl.cnf
OS => Windows_NT
Path => D:openservermodulesconemuConEmuScripts;D:openservermodulesconemu;D:openservermodulesconemuConEmu;d:openservermodulesphpPHP_5.4ext;d:openservermodulesphpPHP_5.4pear;d:openservermodulesphpPHP_5.4pearbin;d:openservermodulesphpPHP_5.4;d:openservermoduleswgetbin;d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21bin;d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21;C:windowssystem32;C:windows;C:windowssystem32Wbem;C:windowsSysWOW64
PATHEXT => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHPBIN => d:openservermodulesphpPHP_5.4php.exe
PHPDIR => d:openservermodulesphpPHP_5.4
PHPRC => d:openservermodulesphpPHP_5.4
PhpStorm => C:Program FilesJetBrainsPhpStorm 2021.1.2bin;
PHP_BIN => d:openservermodulesphpPHP_5.4php.exe
PHP_BINARY => d:openservermodulesphpPHP_5.4php.exe
PHP_BINDIR => d:openservermodulesphpPHP_5.4
PHP_DIR => d:openservermodulesphpPHP_5.4
PHP_INI => d:openservermodulesphpPHP_5.4php.ini
PHP_PEAR_BIN_DIR => d:openservermodulesphpPHP_5.4PEAR
PHP_PEAR_DATA_DIR => d:openservermodulesphpPHP_5.4PEARdata
PHP_PEAR_DOC_DIR => d:openservermodulesphpPHP_5.4PEARdocs
PHP_PEAR_INSTALL_DIR => d:openservermodulesphpPHP_5.4PEARpear
PHP_PEAR_PHP_BIN => d:openservermodulesphpPHP_5.4php.exe
PHP_PEAR_SYSCONF_DIR => d:openservermodulesphpPHP_5.4PEAR
PHP_PEAR_TEST_DIR => d:openservermodulesphpPHP_5.4PEARtests
PROCESSOR_ARCHITECTURE => x86
PROCESSOR_ARCHITEW6432 => AMD64
PROCESSOR_IDENTIFIER => AMD64 Family 21 Model 48 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL => 21
PROCESSOR_REVISION => 3001
ProgramData => C:ProgramData
ProgramFiles => C:Program Files (x86)
ProgramFiles(x86) => C:Program Files (x86)
ProgramW6432 => C:Program Files
PROMPT => $E[m$E[32m$E]9;8;"USERNAME"$E@$E]9;8;"COMPUTERNAME"$E$S$E[92m$P$E[90m$_$E[90m$$$E[m$S$E]9;12$E
PSModulePath => C:Program FilesWindowsPowerShellModules;C:windowssystem32WindowsPowerShellv1.0Modules
PUBLIC => C:UsersPublic
SESSIONNAME => Console
SystemDrive => C:
SystemRoot => C:windows
TEMP => d:openserveruserdatatemp
TMP => d:openserveruserdatatemp
USERDNSDOMAIN => PSU.LOCAL
USERDOMAIN => PSU
USERDOMAIN_ROAMINGPROFILE => PSU
USERNAME => ramazanov.a
USERPROFILE => C:Usersramazanov.a
windir => C:windows
__COMPAT_LAYER => DetectorsAppHealth DetectorsWin8
PHP Variables
Variable => Value
_SERVER["ALLUSERSPROFILE"] => C:ProgramData
_SERVER["ANSICON"] => 239x32766 (239x56)
_SERVER["ANSICON_DEF"] => 7
_SERVER["APPDATA"] => C:Usersramazanov.aAppDataRoaming
_SERVER["CG_BOOST_ROOT"] => C:Program Files (x86)EmbarcaderoRAD Studio7.0includeboost_1_39
_SERVER["CommonProgramFiles"] => C:Program Files (x86)Common Files
_SERVER["CommonProgramFiles(x86)"] => C:Program Files (x86)Common Files
_SERVER["CommonProgramW6432"] => C:Program FilesCommon Files
_SERVER["COMPUTERNAME"] => PC7816
_SERVER["ComSpec"] => C:windowssystem32cmd.exe
_SERVER["ConEmuANSI"] => ON
_SERVER["ConEmuAnsiLog"] =>
_SERVER["ConEmuArgs"] => /Single
_SERVER["ConEmuArgs2"] =>
_SERVER["ConEmuBackHWND"] => 0x002407C2
_SERVER["ConEmuBaseDir"] => D:openservermodulesconemuConEmu
_SERVER["ConEmuBaseDirShort"] => D:OpenServermodulesconemuConEmu
_SERVER["ConEmuBuild"] => 210422
_SERVER["ConEmuCfgDir"] => D:openservermodulesconemu
_SERVER["ConEmuConfig"] =>
_SERVER["ConEmuDir"] => D:openservermodulesconemu
_SERVER["ConEmuDrawHWND"] => 0x00310378
_SERVER["ConEmuDrive"] => D:
_SERVER["ConEmuHooks"] => Enabled
_SERVER["ConEmuHWND"] => 0x004E043A
_SERVER["ConEmuPalette"] => <ConEmu>
_SERVER["ConEmuPID"] => 10624
_SERVER["ConEmuServerPID"] => 4404
_SERVER["ConEmuTask"] => {Shells::cmd}
_SERVER["ConEmuWorkDir"] => d:openserver
_SERVER["ConEmuWorkDrive"] => d:
_SERVER["DataGrip"] => C:Program FilesJetBrainsDataGrip 2021.1.1bin;
_SERVER["DriverData"] => C:WindowsSystem32DriversDriverData
_SERVER["HOME"] => d:openserver
_SERVER["HOMEDRIVE"] => d:
_SERVER["HOMEPATH"] => openserver
_SERVER["LOCALAPPDATA"] => C:Usersramazanov.aAppDataLocal
_SERVER["LOGONSERVER"] => \DC1
_SERVER["NUMBER_OF_PROCESSORS"] => 4
_SERVER["OneDrive"] => C:Usersramazanov.aOneDrive
_SERVER["OneDriveConsumer"] => C:Usersramazanov.aOneDrive
_SERVER["OPENSSL_CONF"] => d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21confopenssl.cnf
_SERVER["OS"] => Windows_NT
_SERVER["Path"] => D:openservermodulesconemuConEmuScripts;D:openservermodulesconemu;D:openservermodulesconemuConEmu;d:openservermodulesphpPHP_5.4ext;d:openservermodulesphpPHP_5.4pear;d:openservermodulesphpPHP_5.4pearbin;d:openservermodulesphpPHP_5.4;d:openservermoduleswgetbin;d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21bin;d:openservermoduleshttpApache_2.2-PHP_5.2-5.4+Nginx_1.21;C:windowssystem32;C:windows;C:windowssystem32Wbem;C:windowsSysWOW64
_SERVER["PATHEXT"] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
_SERVER["PHPBIN"] => d:openservermodulesphpPHP_5.4php.exe
_SERVER["PHPDIR"] => d:openservermodulesphpPHP_5.4
_SERVER["PHPRC"] => d:openservermodulesphpPHP_5.4
_SERVER["PhpStorm"] => C:Program FilesJetBrainsPhpStorm 2021.1.2bin;
_SERVER["PHP_BIN"] => d:openservermodulesphpPHP_5.4php.exe
_SERVER["PHP_BINARY"] => d:openservermodulesphpPHP_5.4php.exe
_SERVER["PHP_BINDIR"] => d:openservermodulesphpPHP_5.4
_SERVER["PHP_DIR"] => d:openservermodulesphpPHP_5.4
_SERVER["PHP_INI"] => d:openservermodulesphpPHP_5.4php.ini
_SERVER["PHP_PEAR_BIN_DIR"] => d:openservermodulesphpPHP_5.4PEAR
_SERVER["PHP_PEAR_DATA_DIR"] => d:openservermodulesphpPHP_5.4PEARdata
_SERVER["PHP_PEAR_DOC_DIR"] => d:openservermodulesphpPHP_5.4PEARdocs
_SERVER["PHP_PEAR_INSTALL_DIR"] => d:openservermodulesphpPHP_5.4PEARpear
_SERVER["PHP_PEAR_PHP_BIN"] => d:openservermodulesphpPHP_5.4php.exe
_SERVER["PHP_PEAR_SYSCONF_DIR"] => d:openservermodulesphpPHP_5.4PEAR
_SERVER["PHP_PEAR_TEST_DIR"] => d:openservermodulesphpPHP_5.4PEARtests
_SERVER["PROCESSOR_ARCHITECTURE"] => x86
_SERVER["PROCESSOR_ARCHITEW6432"] => AMD64
_SERVER["PROCESSOR_IDENTIFIER"] => AMD64 Family 21 Model 48 Stepping 1, AuthenticAMD
_SERVER["PROCESSOR_LEVEL"] => 21
_SERVER["PROCESSOR_REVISION"] => 3001
_SERVER["ProgramData"] => C:ProgramData
_SERVER["ProgramFiles"] => C:Program Files (x86)
_SERVER["ProgramFiles(x86)"] => C:Program Files (x86)
_SERVER["ProgramW6432"] => C:Program Files
_SERVER["PROMPT"] => $E[m$E[32m$E]9;8;"USERNAME"$E@$E]9;8;"COMPUTERNAME"$E$S$E[92m$P$E[90m$_$E[90m$$$E[m$S$E]9;12$E
_SERVER["PSModulePath"] => C:Program FilesWindowsPowerShellModules;C:windowssystem32WindowsPowerShellv1.0Modules
_SERVER["PUBLIC"] => C:UsersPublic
_SERVER["SESSIONNAME"] => Console
_SERVER["SystemDrive"] => C:
_SERVER["SystemRoot"] => C:windows
_SERVER["TEMP"] => d:openserveruserdatatemp
_SERVER["TMP"] => d:openserveruserdatatemp
_SERVER["USERDNSDOMAIN"] => PSU.LOCAL
_SERVER["USERDOMAIN"] => PSU
_SERVER["USERDOMAIN_ROAMINGPROFILE"] => PSU
_SERVER["USERNAME"] => ramazanov.a
_SERVER["USERPROFILE"] => C:Usersramazanov.a
_SERVER["windir"] => C:windows
_SERVER["__COMPAT_LAYER"] => DetectorsAppHealth DetectorsWin8
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME_FLOAT"] => 1628154020.3291
_SERVER["REQUEST_TIME"] => 1628154020
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
Обновил файл cacert.php с официального сайта.
Вставлял вместо файла
D:OpenServeruserdataconfigcacert.pem
Я же правильно заменил?
Не знаю что делать бьюсь уже пол дня. Подскажите как добиться того6 чтобы composer работал.
Intro
I’ve used curl as a debugging tool for a long time. But time moves on and my testing system didn’t. So now for the first time I saw an error that is produced by this situation, and I will explain it.
The details
The error
$ curl ‐i ‐k https://julialang.org/
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
$ curl ‐help
... -2/--sslv2 Use SSLv2 (SSL) -3/--sslv3 Use SSLv3 (SSL) ... -1/--tlsv1 Use TLSv1 (SSL) ...
Compare this to a server which I’ve kept up-to-date with openssl and curl:
...
-2/--sslv2 Use SSLv2 (SSL)
-3/--sslv3 Use SSLv3 (SSL)
...
-1/--tlsv1 Use => TLSv1 (SSL)
--tlsv1.0 Use TLSv1.0 (SSL)
--tlsv1.1 Use TLSv1.1 (SSL)
--tlsv1.2 Use TLSv1.2 (SSL)
...
On this server I can fetch the home page with curl.
So it appears the older system does not have a compatible version of TLS. To confirm this use SSLLABS. We see this:
Sure enough, only TLS 1.2 is supported by the server, and my poor old curl doesn’t have that! Too bad for me, but it shows it’s time to upgrade.
Another problem site
askapache.com is another vexing site. On a curl version which supposedly supports tls 1.2 I get this error:
$ curl ‐‐tlsv1.2 ‐‐verbose ‐k https://askapache.com/
* About to connect() to askapache.com port 443 (#0) * Trying 192.237.251.158... connected * Connected to askapache.com (192.237.251.158) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * warning: ignoring value of ssl.verifyhost * NSS error -12286 * Closing connection #0 * SSL connect error curl: (35) SSL connect error
This is with curl version 7.19.7 on my CentOS 6.8 system.
This same site works fine on my compiled version of curl with the latest openssl, version 7.55.1. The system-supplied curl is missing support for some cipher suites.
Here’s my compiled curl and openssl list of cipher suites:
$ openssl ciphers
ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384: ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256: ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA: ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:RSA-PSK-AES256-GCM-SHA384: DHE-PSK-AES256-GCM-SHA384:RSA-PSK-CHACHA20-POLY1305:DHE-PSK-CHACHA20-POLY1305: ECDHE-PSK-CHACHA20-POLY1305:AES256-GCM-SHA384:PSK-AES256-GCM-SHA384:PSK-CHACHA20-POLY1305: RSA-PSK-AES128-GCM-SHA256:DHE-PSK-AES128-GCM-SHA256:AES128-GCM-SHA256:PSK-AES128-GCM-SHA256: AES256-SHA256:AES128-SHA256:ECDHE-PSK-AES256-CBC-SHA384:ECDHE-PSK-AES256-CBC-SHA:SRP-RSA-AES-256-CBC-SHA:SRP-AES-256-CBC-SHA:RSA-PSK-AES256-CBC-SHA384:DHE-PSK-AES256-CBC-SHA384:RSA-PSK-AES256-CBC-SHA: DHE-PSK-AES256-CBC-SHA:AES256-SHA:PSK-AES256-CBC-SHA384:PSK-AES256-CBC-SHA:ECDHE-PSK-AES128-CBC-SHA256:ECDHE-PSK-AES128-CBC-SHA:SRP-RSA-AES-128-CBC-SHA:SRP-AES-128-CBC-SHA: RSA-PSK-AES128-CBC-SHA256:DHE-PSK-AES128-CBC-SHA256:RSA-PSK-AES128-CBC-SHA:DHE-PSK-AES128-CBC-SHA:AES128-SHA:PSK-AES128-CBC-SHA256:PSK-AES128-CBC-SHA
and what I see on my older system:
$ openssl ciphers
DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:DHE-RSA-CAMELLIA256-SHA:DHE-DSS-CAMELLIA256-SHA: CAMELLIA256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-CBC3-MD5: DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:AES128-SHA:DHE-RSA-CAMELLIA128-SHA:DHE-DSS-CAMELLIA128-SHA: CAMELLIA128-SHA:RC2-CBC-MD5:RC4-SHA:RC4-MD5:RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA:DES-CBC-SHA: DES-CBC-MD5:EXP-EDH-RSA-DES-CBC-SHA:EXP-EDH-DSS-DES-CBC-SHA:EXP-DES-CBC-SHA:EXP-RC2-CBC-MD5:EXP-RC2-CBC-MD5:EXP-RC4-MD5:EXP-RC4-MD5
Note that when curl successfully connects it shows which cipher suite was chosen if you use the -v switch:
$ curl ‐v ‐k https://drjohnstechtalk.com/
* About to connect() to drjohnstechtalk.com port 443 (#0) * Trying 50.17.188.196... connected * Connected to drjohnstechtalk.com (50.17.188.196) port 443 (#0) ... * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 ...
On a more demanding server – one that does not work with old curl, this dialog is longer, TLS 1.2 is preferred and a more secure cipher suite is chosen – one not available on the other system:
(issue standard curl -k -v <server_name>)
* Trying 50.17.188.197... * TCP_NODELAY set * Connected to 50.17.188.197 port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Client hello (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
Another curl error explained
While running
$ curl -v -i -k https://drjohnstechtalk.com/
* About to connect() to drjohnstechtalk.com port 443 (#0) * Trying 50.17.188.196... connected * Connected to drjohnstechtalk.com (50.17.188.196) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * warning: ignoring value of ssl.verifyhost * skipping SSL peer certificate verification * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: * subject: CN=drjohnstechtalk.com,C=US * start date: Apr 03 00:00:00 2017 GMT * expire date: Apr 03 23:59:59 2019 GMT * common name: drjohnstechtalk.com * issuer: CN=Trusted Secure Certificate Authority 5,O=Corporation Service Company,L=Wilmington,ST=NJ,C=US > GET / HTTP/1.1 > Host: drjohnstechtalk.com > Accept: */* > User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; > * SSL read: errno -5961 * Closing connection #0 curl: (56) SSL read: errno -5961
What’s going on?
In this test drjohnstechtalk.com was behind a load balancer. The load balancer had SSL configured. The back-end server was not running however though the load balancer’s health check did not detect that condition. So the load balancer permitted the initial connection, but then shut things off when it could not open a connection to the back-end server. So this error has nothing to do with curl showing its age, but I didn’t know that when I started debugging it.
errno 104
Then there’s this one:
$ curl ‐v ‐i ‐k https://lb.drjohnstechtalk.com/
* Trying 50.17.188.196... * TCP_NODELAY set * Connected to fw-change-request.bdrj.net (50.17.188.196) port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Client hello (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=NJ; CN=lb.drjohnstechtalk.com * start date: Nov 14 12:06:02 2017 GMT * expire date: Nov 14 12:06:02 2018 GMT * SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. > GET / HTTP/1.1 > Host: lb.drjohnstechtalk.com > User-Agent: curl/7.55.1 > Accept: */* > * OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 * Closing connection 0 curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
This also seems to occur as I’ve seen when there’s a load balancer in front of a web server where the load balancer is working fine but the web server is not.
Another example challenging web site
$ curl ‐‐version
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
$ curl ‐v ‐k https://e1st.smapply.org/
* About to connect() to e1st.smapply.org port 443 (#0) * Trying 72.55.140.155... connected * Connected to e1st.smapply.org (72.55.140.155) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * warning: ignoring value of ssl.verifyhost * NSS error -12286 * Closing connection #0 * SSL connect error curl: (35) SSL connect error
I have seen this suggestion on the Internet to fix the system-supplied curl on a CentOS 6.8 system:
yum update -y nss curl libcurl
It didn’t work!
Rationale
I tried to give the owners of e1st.smapply.org a hard time for supporting such a limited set of ciphersuites – essentially only the latest thing (which you can see yourself by running it through sslabs.com): TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384. If I run this through SSL interception on a Symantec proxy with an older image, that ciphersuite isn’t present! I had to upgrade, then it was fine. But getting back to the rationale, they told me they have future-proofed their site for the new requirements of PCI and they would not budge.
Another curl error
curl: (3) Illegal characters found in URL
If your url looks visibly OK, mkae sure you don’t have and non-printed characters in it. Put it through the linux od -c utility. In my case I culled the url from a Location header after parsing it with awk. Unbeknownst to me, tagging along at the end, unseen, was an extra nr characters. I had to get rid of those.
Conclusion
A TLS version error is explained, as well as the way it came about. Another curl/SSL error is also explained.
References and related
I eventually came up with the solution: compile my own updated version of curl! I describe how I did it in this blog post.
A more recent TLS versioning problem which I could have only resolved by using curl is described in this post.
Hi,
I’m getting a PHP CURL error when submitting a test transaction to my sandbox account at https://test.authorize.net/gateway/transact.dll. The error is:
1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Does this mean that the version of CURL on the server is not configured to work properly with TLS 1.2? From what I can tell from the PHP Info, the CURL version is 7.36.0 and SSL Version is OpenSSL/0.9.8. PHP version is 5.4.32.
Test code looks like below:
<?php
$url = ‘https://test.authorize.net/gateway/transact.dll’;
$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_POST, true);
curl_setopt( $ch, CURLOPT_POSTFIELDS, $vPostData);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt( $ch, CURLOPT_VERBOSE, true);
$response = curl_exec( $ch );
if ($response === false) {
echo «curl_exec failed<br />»;
trigger_error(curl_error($ch));
} else {
echo «response: » . $response;
}
curl_close($ch);
?>
Thanks!

