Perl: Cannot Access Web Service with SSL

后端 未结 8 837
礼貌的吻别
礼貌的吻别 2021-01-21 12:28

This is my first Perl script. I have installed SOAP::Lite using CPAN and it seems to have gone okay.

I\'m trying to access a simple HelloWorld .NET web service. I\'m get

8条回答
  •  遇见更好的自我
    2021-01-21 12:42

    You need to tell LWP to not do hostname checking. For me this only worked using an environment variable, not by setting an option in SOAP::Lite objects:

    $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME}=0;
    

提交回复
热议问题