Skip to main content

error PublicAPI.pm

Comments

4 comments

  • cPanelMichael
    Hello :) Does this happen when opening a specific plugin or performing a specific action? Note the following from the cPanel version 54 release notes: Changes to the Cpanel::PublicAPI module In cPanel & WHM version 54, we no longer ship the Cpanel::PublicAPI module. Instead, we now ship an RPM of the cPanel::PublicAPI CPAN module. Note: The Cpanel::Accounting module is a wrapper for this module. We also added the ssl_verify_mode parameter to the module. This boolean parameter controls whether the module verifies SSL certificates. [LIST]
  • This parameter defaults to 1, which causes the module to verify SSL certificates.
  • We strongly recommend that you do not set this value to 0 unless you must use self-signed certificates.
  • Previously, the Cpanel::PublicAPI module did not verify SSL certificates.
    Thank you.
  • 0
  • akbardotinfo
    is there any way to remove this messages ? Thank you
    0
  • cPanelMichael
    New is there any way to remove this messages ?

    Are you referring to the error message in your original post, or this forum thread? Thank you.
    0
  • akbardotinfo
    got a solution this, just edit the file /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/cPanel/PublicAPI.pm and change $self->{'ssl_verify_mode'} = 1; to: $self->{'ssl_verify_mode'} = 0; :) Thank you
    0

Please sign in to leave a comment.