A Perl script does not connect to an url because of an error with the certificates

0

Hi, I need to use a url in a program made with perl to create a ticket in others, but when I run that program, I get the error of the image. I have tried to tried to put in the script:

  • $ ENV {PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;

  • my $ UA = LWP :: UserAgent-> new (ssl_opts = > {verify_hostname = > 0,});

  • I've also tried using another certificate in C: \ otrs \ Kernel \ cpan-lib \ Mozilla \ CA \ cacert.pem

I thank you for the help in advance.

    
asked by Palak 19.04.2018 в 11:30
source

0 answers