PHP util-api-test-tool API throwing error: sslv3 alert handshake failure









up vote
0
down vote

favorite












I am trying to execute the API tool available here:



https://github.com/Brightspace/util-api-test-tool



However, I am getting this error and I not able to solve it:




Error contacting server: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure.




I already updated curl, where I have:




curl 7.62.0 (x86_64-pc-win32) libcurl/7.62.0 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/1.8.0 nghttp2/1.34.0




My configurations are XAMPP 1.7.2 and PHP 5.3. I'm using Windows and netbeans.



I have research for this error and it seems to be very common, but I cannot find the solution for PHP. Any help is a good help.










share|improve this question























  • I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
    – Jerry
    Nov 9 at 22:24










  • Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
    – drew010
    Nov 9 at 22:55










  • @drew010 I have curl 7.19.4. I will try to update it.
    – J. Ty
    Nov 10 at 2:34










  • How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
    – J. Ty
    Nov 10 at 19:44










  • most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
    – hanshenrik
    Nov 11 at 15:10















up vote
0
down vote

favorite












I am trying to execute the API tool available here:



https://github.com/Brightspace/util-api-test-tool



However, I am getting this error and I not able to solve it:




Error contacting server: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure.




I already updated curl, where I have:




curl 7.62.0 (x86_64-pc-win32) libcurl/7.62.0 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/1.8.0 nghttp2/1.34.0




My configurations are XAMPP 1.7.2 and PHP 5.3. I'm using Windows and netbeans.



I have research for this error and it seems to be very common, but I cannot find the solution for PHP. Any help is a good help.










share|improve this question























  • I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
    – Jerry
    Nov 9 at 22:24










  • Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
    – drew010
    Nov 9 at 22:55










  • @drew010 I have curl 7.19.4. I will try to update it.
    – J. Ty
    Nov 10 at 2:34










  • How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
    – J. Ty
    Nov 10 at 19:44










  • most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
    – hanshenrik
    Nov 11 at 15:10













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to execute the API tool available here:



https://github.com/Brightspace/util-api-test-tool



However, I am getting this error and I not able to solve it:




Error contacting server: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure.




I already updated curl, where I have:




curl 7.62.0 (x86_64-pc-win32) libcurl/7.62.0 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/1.8.0 nghttp2/1.34.0




My configurations are XAMPP 1.7.2 and PHP 5.3. I'm using Windows and netbeans.



I have research for this error and it seems to be very common, but I cannot find the solution for PHP. Any help is a good help.










share|improve this question















I am trying to execute the API tool available here:



https://github.com/Brightspace/util-api-test-tool



However, I am getting this error and I not able to solve it:




Error contacting server: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure.




I already updated curl, where I have:




curl 7.62.0 (x86_64-pc-win32) libcurl/7.62.0 OpenSSL/1.1.1 (WinSSL) zlib/1.2.11 brotli/1.0.7 WinIDN libssh2/1.8.0 nghttp2/1.34.0




My configurations are XAMPP 1.7.2 and PHP 5.3. I'm using Windows and netbeans.



I have research for this error and it seems to be very common, but I cannot find the solution for PHP. Any help is a good help.







php api curl netbeans






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 10 at 0:10









RangerRanger

1,0791922




1,0791922










asked Nov 9 at 22:02









J. Ty

12




12











  • I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
    – Jerry
    Nov 9 at 22:24










  • Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
    – drew010
    Nov 9 at 22:55










  • @drew010 I have curl 7.19.4. I will try to update it.
    – J. Ty
    Nov 10 at 2:34










  • How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
    – J. Ty
    Nov 10 at 19:44










  • most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
    – hanshenrik
    Nov 11 at 15:10

















  • I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
    – Jerry
    Nov 9 at 22:24










  • Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
    – drew010
    Nov 9 at 22:55










  • @drew010 I have curl 7.19.4. I will try to update it.
    – J. Ty
    Nov 10 at 2:34










  • How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
    – J. Ty
    Nov 10 at 19:44










  • most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
    – hanshenrik
    Nov 11 at 15:10
















I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
– Jerry
Nov 9 at 22:24




I'm not sure if it's the cause of your problem but php 5.3 is really old and is not supported anymore, so there have been many security updates that were not applied to php 5.3. Even php 5.6 is approaching its end-of-life.
– Jerry
Nov 9 at 22:24












Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
– drew010
Nov 9 at 22:55




Is this curl 7.62.0 also the version that is built into PHP? The PHP curl module also needs to be updated, which is either building a new external PHP module, or re-compiling PHP if curl is built in. See what <?php phpinfo() ?> shows the curl and OpenSSL version is.
– drew010
Nov 9 at 22:55












@drew010 I have curl 7.19.4. I will try to update it.
– J. Ty
Nov 10 at 2:34




@drew010 I have curl 7.19.4. I will try to update it.
– J. Ty
Nov 10 at 2:34












How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
– J. Ty
Nov 10 at 19:44




How do I update the PHP curl module? When I run phpinfo(), it returns cURL information: 7.19.4 and SSL version: OpenSSL/0.9.8k . I already to remove cURL and install it again, but it get the windows, and not the php module.
– J. Ty
Nov 10 at 19:44












most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
– hanshenrik
Nov 11 at 15:10





most likely curl or openssl dropped support for SSL V3, or at the very least disabled it by default (which your ancient xampp+apache server use) - what happens if you add --sslv3 to the curl arguments?
– hanshenrik
Nov 11 at 15:10













1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










sslv3 (which your *ancient* xampp+apache server use) was disabled-by-default in curl version 7.39.0, which means you must add the --sslv3 argument to connect to sslv3-servers since 7.39.0. and as stated in your post, you're using 7.62.0, so add
the --sslv3 argument.



... also, you should consider upgrading your apache installation.






share|improve this answer




















  • Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
    – J. Ty
    Nov 15 at 18:47










  • @J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
    – hanshenrik
    Nov 15 at 18:54










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233818%2fphp-util-api-test-tool-api-throwing-error-sslv3-alert-handshake-failure%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










sslv3 (which your *ancient* xampp+apache server use) was disabled-by-default in curl version 7.39.0, which means you must add the --sslv3 argument to connect to sslv3-servers since 7.39.0. and as stated in your post, you're using 7.62.0, so add
the --sslv3 argument.



... also, you should consider upgrading your apache installation.






share|improve this answer




















  • Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
    – J. Ty
    Nov 15 at 18:47










  • @J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
    – hanshenrik
    Nov 15 at 18:54














up vote
0
down vote



accepted










sslv3 (which your *ancient* xampp+apache server use) was disabled-by-default in curl version 7.39.0, which means you must add the --sslv3 argument to connect to sslv3-servers since 7.39.0. and as stated in your post, you're using 7.62.0, so add
the --sslv3 argument.



... also, you should consider upgrading your apache installation.






share|improve this answer




















  • Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
    – J. Ty
    Nov 15 at 18:47










  • @J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
    – hanshenrik
    Nov 15 at 18:54












up vote
0
down vote



accepted







up vote
0
down vote



accepted






sslv3 (which your *ancient* xampp+apache server use) was disabled-by-default in curl version 7.39.0, which means you must add the --sslv3 argument to connect to sslv3-servers since 7.39.0. and as stated in your post, you're using 7.62.0, so add
the --sslv3 argument.



... also, you should consider upgrading your apache installation.






share|improve this answer












sslv3 (which your *ancient* xampp+apache server use) was disabled-by-default in curl version 7.39.0, which means you must add the --sslv3 argument to connect to sslv3-servers since 7.39.0. and as stated in your post, you're using 7.62.0, so add
the --sslv3 argument.



... also, you should consider upgrading your apache installation.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 11 at 15:15









hanshenrik

9,18621537




9,18621537











  • Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
    – J. Ty
    Nov 15 at 18:47










  • @J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
    – hanshenrik
    Nov 15 at 18:54
















  • Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
    – J. Ty
    Nov 15 at 18:47










  • @J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
    – hanshenrik
    Nov 15 at 18:54















Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
– J. Ty
Nov 15 at 18:47




Thanks very much. After running php.info, I have decided to install php 7 and it solved my problem.
– J. Ty
Nov 15 at 18:47












@J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
– hanshenrik
Nov 15 at 18:54




@J.Ty the PHP version was not your problem, your apache version was the problem. but when you updated to PHP7, i guess you also updated your apache server at the same time, and that solved your problem.
– hanshenrik
Nov 15 at 18:54

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53233818%2fphp-util-api-test-tool-api-throwing-error-sslv3-alert-handshake-failure%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto