in reply to Re: HTTP::Tiny ssl opt
in thread HTTP::Tiny ssl opt

well am getting this error when running the code. the procedure entry point ssl_get0_next_proto_negotiated could not be located in dynamic link library SSLEAY32

but when running LWP module i can easily use ssl_opts => { verify_hostname => 0 to ignore ssl verify . now in http::tiny seems not work. when u use https. the docmenations tells validate the SSL certificate of an https — connection (default is false) but still the problem still occur

Replies are listed 'Best First'.
Re^3: HTTP::Tiny ssl opt
by 1nickt (Canon) on Mar 28, 2017 at 16:48 UTC

    Hi again,

    ( Please put your error message inside <code></code> tags, like with code, as it helps to read it and separate it from your message. )

    Did you read all the documentation for HTTP::Tiny including the section SSL Support ?

    • "Direct https connections are supported only if IO::Socket::SSL 1.56 or greater and Net::SSLeay 1.49 or greater are installed. An exception will be thrown if new enough versions of these modules are not installed or if the SSL encryption fails. You can also use HTTP::Tiny::can_ssl() utility function that returns boolean to see if the required modules are installed."

    Have you verified that you have the necessary versions of those dependencies?

    Have you used the provided method HTTP::Tiny->can_ssl() to see whether you have the needed dependencies?

    Please let us know.


    The way forward always starts with a minimal test.

      i have tried everything bt http::tiny still validating ssl.

      no way i can disable SSL certificate verification

        What exactly does "tried everything" mean? The error you showed is not even related to validating SSL certificates. You are wasting the time of the Monks!

        Last chance for help from me. Do this:

        Show the version numbers of the two libraries mentioned in the HTTP::Tiny documentation quoted in my post above. Use the following idiom from your command line, substituting each module name one at a time:

        $ perl -MExample::Module -e 'print $Example::Module::VERSION, "\n"'
        Show also the output of:
        $ perl -MHTTP::Tiny -e 'print "$_\n" for (HTTP::Tiny->can_ssl)'


        The way forward always starts with a minimal test.