logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: PHP Curl error 35
Author
puertoblack2003



Joined: 31 Jul 2009
Posts: 121
Location: U.S

PostPosted: Mon 29 Mar '21 1:41    Post subject: PHP Curl error 35 Reply with quote

Hi,

Code:
Error message: cURL error 35: error:1408F10B:SSL routines:ssl3_get_record:wrong version number (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)


in Apache the version number is 7.72.0 and in php it's 7.75.0 How can I update Apache to match PHP?

thanks
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Mon 29 Mar '21 6:41    Post subject: Reply with quote

Could it be that SSLv3 is still enabled in your Apache? You really should disable it by adding ‘-SSLv3’ to the SSLProtocol directive:
https://scotthelme.co.uk/sslv3-goes-to-the-dogs-poodle-kills-off-protocol/

My guess is that the error will not happen after disabling SSLv3 and restarting Apache.
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 121
Location: U.S

PostPosted: Mon 29 Mar '21 16:18    Post subject: Reply with quote

I'm using lets encrypt as my module. not sure if it matters. but i follow what you shared. I'm still getting that same error. I read few forum and it keeps referencing about updating the file to match that fixed that code 35.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1266
Location: Amsterdam, NL, EU

PostPosted: Mon 29 Mar '21 16:38    Post subject: Reply with quote

The admins moved these messages to a new topic with the title 'PHP Curl error'. To be clear: are you getting the error in Apache or in PHP?
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 121
Location: U.S

PostPosted: Mon 29 Mar '21 16:56    Post subject: Reply with quote

I didnt see any error in apache or php logs.Its a forum software that is showing in there log and they're telling me its a server configuration issue.but when i ran the ssl checker apparent its configure properly

https://imgur.com/jFBcukf
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 121
Location: U.S

PostPosted: Mon 29 Mar '21 21:33    Post subject: Reply with quote

thanks for your help jan-E it turned out not to be a server configuration issue, but a software issue and forward my issue with software developer.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7374
Location: Germany, Next to Hamburg

PostPosted: Thu 01 Apr '21 15:12    Post subject: Reply with quote

your error message shows, that PHP tried to access a RSS Feed from somewhere and there is an issue with the SSL protocol.

Error 35
Code:

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.


My best guess is that the SSL cert is no longer valid.
Back to top
puertoblack2003



Joined: 31 Jul 2009
Posts: 121
Location: U.S

PostPosted: Thu 01 Apr '21 20:27    Post subject: Reply with quote

thanks James, we determined it was not a server issue.I used a forum software data importer to another forum software. So there script was adding the port :80 after the url so after removing the port # the rss feed started to work as design.
Back to top


Reply to topic   Topic: PHP Curl error 35 View previous topic :: View next topic
Post new topic   Forum Index -> Other Software