Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

LWP 6.0 SSL Verification Problems

Discussion in 'cPanel Developers' started by karlschweigert, Mar 20, 2011.

  1. karlschweigert

    karlschweigert Registered

    Joined:
    Mar 20, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    My server recently automatically upgraded to LWP 6.0 and I need to turn off SSL Verification. Can someone tell me, step by step, how to do so? The documentation says set PERL_LWP_SSL_VERIFY_HOSTNAME to 0 but I don't know where or how to accomplish this. Thanks!
     
  2. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    That's an environment variable.

    Code:
    $ENV{'PERL_LWP_SSL_VERIFY_HOSTNAME'} = 0;
    
    If you're using this for a cPanel-related task, I highly suggest checking out cPanel::PublicAPI as it has methods built into it for handling cPanel & WHM's APIs.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice