The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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 cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...

Share This Page