in reply to Re^3: HTTPS connection with LWP and self-signed certificate ( openssl/ssldump )
in thread HTTPS connection with LWP and self-signed certificate

I read that page which gave me the idea to enable debugging. It all works fine with a browser, the openssl commandline tool and the perl script with "verify_hostname=0" the different methods mention that the certificate is self-signed but the ssl connection is established just fine. To me this sounds like the problem is restricted purely to the certificate verification and not to say setting up the ssl encryption.

I would think that supplying the certificate to LWP and telling it to accept that certificate would be enough to make it work without turning the verification of....

As for the "util/analyze-ssl.pl", I don't know where to find that script. What do they mean by "in the distribution", which distribution?

  • Comment on Re^4: HTTPS connection with LWP and self-signed certificate ( openssl/ssldump )

Replies are listed 'Best First'.
Re^5: HTTPS connection with LWP and self-signed certificate ( openssl/ssldump )
by Corion (Patriarch) on Jan 07, 2015 at 13:30 UTC

      I was looking for it on my system as I assumed I would have gotten it when installing libio-socket-ssl-perl via the package manager. Apparently the version in the repos did not have this script yet, which is why I couldn't find it.

      I tried running the script but it complains about a version mismatch so I'll try to install the latest IO::Socket::SSL via cpan after I get back from work and see if the analyze-ssl utility gives me some more information.

      I'll update the thread if I find something,

      Thanks to everyone who has been trying to help so far! I'm hopeful that I'll be able to solve this with your help

        > Apparently the version in the repos did not have this script yet, which is why I couldn't find it.
        This is not a script which gets installed. It gets only shipped with the distribution.
Re^5: HTTPS connection with LWP and self-signed certificate ( openssl/ssldump )
by Anonymous Monk on Jan 07, 2015 at 23:39 UTC