Jump to content
pKris

OpenSSL (CURL Error: 56 - OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0) Issue on non-cPanel WHMCS

Recommended Posts

Hey all, looking for some guidance on this OpenSSL issue 

CURL Error: 56 - OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0

 

when connecting to the eNom API for a WHMCS installation that exists independently of cPanel (this is not helpful Troubleshooting CURL Error: 56 - OpenSSL SSL_read: Success error | Troubleshooting | Guides & Tutorials (whmcs.com)).

The only community articles I seem to find relate to WHMCS environments running on a cPanel server managed by EasyApache, this isn't the case when running on it's own VM.

Environment Details:

PHP Version 8.1.2-1ubuntu2.8

cURL support: enabled

cURL Information: 7.81.0

Apache/2.4.52 

Share this post


Link to post
Share on other sites

I'm having this problem too. The problem appears to be that that curl on Ubuntu 22.04 (and perhaps others) used OpenSSL v3 , and that is stricter with connections that v1. That causes connections to the eNom API to fail, I assume because eNom uses older SSL algorithms. So strictly speaking the problem is with eNom, and I'll open a ticket with them about this, but I'm a sub-reseller, they're not going to take any notice of me for this.

I thought upgrading my PHP version might help, but unfortunately not. Still looking for workarounds.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated