http://qs1969.pair.com?node_id=1086389

dsb has asked for the wisdom of the Perl Monks concerning the following question:

All, Has anyone recently run into this error:
500 Can't locate object method "configure" via package "Net::HTTPS::SU +PER" at /export/home/scratch/perl/lib/site_perl/5.16.3/ServiceNow/Con +nection.pm line 70.

I tried to poke around in the lib directory to figure out where the call to that package could be, because I had never heard of it, and couldn't find anything about it, which led me to believe it was a package space declared within the Net::HTTPS .pm file.

I found this in Net::HTTPS -

sub http_connect { my($self, $cnf) = @_; if ($self->isa("Net::SSL")) { if ($cnf->{SSL_verify_mode}) { if (my $f = $cnf->{SSL_ca_file}) { $ENV{HTTPS_CA_FILE} = $f; } if (my $f = $cnf->{SSL_ca_path}) { $ENV{HTTPS_CA_DIR} = $f; } } if ($cnf->{SSL_verifycn_scheme}) { $@ = "Net::SSL from Crypt-SSLeay can't verify hostnames; eithe +r install IO::Socket::SSL or turn off verification by setting the PER +L_LWP_SSL_VERIFY_HOSTNAME environment variable to 0"; return undef; } } $self->SUPER::configure($cnf); ##### OFFENDING LINE??? }
This is all coming from an effort at proxy authentication and then SSL authentication at the end point webservice. Truthfully, I'm not even sure whether the problem is at the proxy or the webservice.

UPDATE: The same code set works as is on another machine. Seemed worth noting.

dsb
This @ISA my( $cool ) %SIG