{"action":"created","issue":{"url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/102","repository_url":"https://api.github.com/repos/baibaratsky/php-webmoney","labels_url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/102/comments","events_url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/102/events","html_url":"https://github.com/baibaratsky/php-webmoney/issues/102","id":174264732,"number":102,"title":"Проблемы с SSL в CurlRequester.","user":{"login":"stas17","id":1285082,"avatar_url":"https://avatars.githubusercontent.com/u/1285082?v=3","gravatar_id":"","url":"https://api.github.com/users/stas17","html_url":"https://github.com/stas17","followers_url":"https://api.github.com/users/stas17/followers","following_url":"https://api.github.com/users/stas17/following{/other_user}","gists_url":"https://api.github.com/users/stas17/gists{/gist_id}","starred_url":"https://api.github.com/users/stas17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas17/subscriptions","organizations_url":"https://api.github.com/users/stas17/orgs","repos_url":"https://api.github.com/users/stas17/repos","events_url":"https://api.github.com/users/stas17/events{/privacy}","received_events_url":"https://api.github.com/users/stas17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-31T12:50:43Z","updated_at":"2016-08-31T13:41:38Z","closed_at":null,"body":"#90 \r\nСнова здравствуйте. \r\nПри установке версии ssl = 1 \r\n`curl_setopt($handler, CURLOPT_SSLVERSION, 1);`\r\nполучаю\r\n**Error while performing request (Unknown SSL protocol error in connection to w3s.webmoney.ru:443 )**\r\n\r\nПри установке версии ssl = 4 все гуд (версии 2 и 3 не безопасны)\r\n\r\nЕсть у меня мнение, что я что то не так делаю с версией 1, но получилось поправить только сменой  версии.\r\n\r\nМожет быть добавить метод setSSLVersion в CurlRequester?\r\n `\r\n$xmlRequester new CurlRequester(); `\r\n`\r\n$xmlRequester->setSSLVersion(CURL_SSLVERSION_TLSv1_0);\r\n`\r\nА в  CurlRequester\r\n`class CurlRequester extends AbstractRequester`\r\n`{`\r\n`     private $sslVersion = CURL_SSLVERSION_TLSv1;`\r\nСпс. \r\n\r\nP.S.\r\nНу, и немного занудства. Мне больше нравится использование стандартных констант \r\n**CURL_SSLVERSION_TLSv1** для v1,\r\n**CURL_SSLVERSION_TLSv1_0** для v4.\r\n"},"comment":{"url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/comments/243767377","html_url":"https://github.com/baibaratsky/php-webmoney/issues/102#issuecomment-243767377","issue_url":"https://api.github.com/repos/baibaratsky/php-webmoney/issues/102","id":243767377,"user":{"login":"stas17","id":1285082,"avatar_url":"https://avatars.githubusercontent.com/u/1285082?v=3","gravatar_id":"","url":"https://api.github.com/users/stas17","html_url":"https://github.com/stas17","followers_url":"https://api.github.com/users/stas17/followers","following_url":"https://api.github.com/users/stas17/following{/other_user}","gists_url":"https://api.github.com/users/stas17/gists{/gist_id}","starred_url":"https://api.github.com/users/stas17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stas17/subscriptions","organizations_url":"https://api.github.com/users/stas17/orgs","repos_url":"https://api.github.com/users/stas17/repos","events_url":"https://api.github.com/users/stas17/events{/privacy}","received_events_url":"https://api.github.com/users/stas17/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T13:41:37Z","updated_at":"2016-08-31T13:41:37Z","body":"> может быть pull request? :)\r\n\r\nCURL_SSLVERSION_TLSv1_0 (integer)\r\nДоступна начиная с версий PHP 5.5.19 и 5.6.3\r\nCURL_SSLVERSION_TLSv1_1 (integer)\r\nДоступна начиная с версий PHP 5.5.19 и 5.6.3\r\nCURL_SSLVERSION_TLSv1_2 (integer)\r\nДоступна начиная с версий PHP 5.5.19 и 5.6.3\r\n\r\nучитывать совместимость с php version < 5.5.19?\r\n"}}
{"actor":{"display_login":"stas17"}}