Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How To Set PERL_LWP_SSL_VERIFY_HOSTNAME to 0 Post 302506406 by karlschweigert on Sunday 20th of March 2011 04:17:41 PM
Old 03-20-2011
How To Set PERL_LWP_SSL_VERIFY_HOSTNAME to 0

My server recently upgraded to LWP 6.0 and I need to turn off SSL Verification. Can someone tell me, step by step, how to do so? The documentation says set PERL_LWP_SSL_VERIFY_HOSTNAME to 0 but I don't know where or how to accomplish this. Thanks!

Below is the error message that I get when running an IPN to CCBILL.

Code:
Can't connect to datalink.ccbill.com:443 (Crypt-SSLeay can't verify hostnames) Net::SSL from Crypt-SSLeay can't verify hostnames; either install IO::Socket::SSL or turn off verification by setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0 at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm line 51.

 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unsetting (set -C) and set -o noclobber

I use a lot of text edditing on my laptop, and about a year and half ago I read my first unix bootk which gave the noclobber command and how to unset it.. now that my files are some what overflowing I need to use noclobber or the set -C option... I know the >| to override the no overwite command... (2 Replies)
Discussion started by: moxxx68
2 Replies

2. Shell Programming and Scripting

set -o vi giving set: Syntax error

when trying : set -o vi getting error like- : set: Syntax error help me Double post (of sorts). Continue here. (0 Replies)
Discussion started by: RahulJoshi
0 Replies

3. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

4. HP-UX

What is the use of command set -- and set - variable?

Hi, I am using hp unix i want to know the use of the following commands set -- set - variable thanks (4 Replies)
Discussion started by: gomathi
4 Replies

5. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

6. Solaris

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

Hi, I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8 With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8". Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies

7. UNIX for Dummies Questions & Answers

One set of executables but multiple set of configuration

i don't know where to put this question hence it is here. Presently, i have X unix machines which each of them running a set of executables with various unique configurations. i would like to have run multiple set of machines the same set of executeables but each running different... (0 Replies)
Discussion started by: lchunleo
0 Replies

8. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
Net::SSL(3)						User Contributed Perl Documentation					       Net::SSL(3)

NAME
Net::SSL - support for Secure Sockets Layer METHODS
new Creates a new "Net::SSL" object. configure Configures a "Net::SSL" socket for operation. configure_certs Sets up a certificate file to use for communicating with on the socket. connect die_with_error get_cipher get_lwp_object Walks up the caller stack and looks for something blessed into the "LWP::UserAgent" namespace and returns it. Vaguely deprecated. get_peer_certificate Gets the peer certificate from the underlying "Crypt::SSLeay::Conn" object. get_peer_verify get_shared_ciphers getchunk Attempts to read up to 32KiB of data from the socket. Returns "undef" if nothing was read, otherwise returns the data as a scalar. getline Reads one character at a time until a newline is encountered, and returns the line, including the newline. Grossly inefficient. print Concatenates the input parameters and writes them to the socket. Does not honour $, nor $/. Returns the number of bytes written. printf Performs a "sprintf" of the input parameters (thus, the first parameter must be the format), and writes the result to the socket. Returns the number of bytes written. proxy Returns the hostname of an https proxy server, as specified by the "HTTPS_PROXY" environment variable. proxy_connect_helper Helps set up a connection through a proxy. read Performs a read on the socket and returns the result. ssl_context sysread Is an alias of "read". timeout Returns the timeout value of the socket as defined by the implementing class or 60 seconds by default. blocking Returns a boolean indicating whether the underlying socket is in blocking mode. By default, Net::SSL sockets are in blocking mode. $sock->blocking(0); # set to non-blocking mode This method simply calls the underlying "blocking" method of the IO::Socket object. write Writes the parameters passed in (thus, a list) to the socket. Returns the number of bytes written. syswrite Is an alias of "write". accept Not yet implemented. Will die if called. getc Not yet implemented. Will die if called. getlines Not yet implemented. Will die if called. ungetc Not yet implemented. Will die if called. send_useragent_to_proxy By default (as of version 2.80 of "Net::SSL" in the 0.54 distribution of Crypt::SSLeay), the user agent string is no longer sent to the proxy (but will continue to be sent to the remote host). The previous behaviour was of marginal benefit, and could cause fatal errors in certain scenarios (see CPAN bug #4759) and so no longer happens by default. To reinstate the old behaviour, call "Net::SSL::send_useragent_to_proxy" with a true value (usually 1). DIAGNOSTICS
"no port given for proxy server <proxy>" A proxy was specified for configuring a socket, but no port number was given. Ensure that the proxy is specified as a host:port pair, such as "proxy.example.com:8086". "configure certs failed: <contents of $@>; <contents of $!>" "proxy connect failed: <contents of $@>; <contents of $!>" "Connect failed: <contents of $@>; <contents of $!>" During connect(). SEE ALSO IO::Socket::INET "Net::SSL" is implemented by subclassing "IO::Socket::INET", hence methods not specifically overridden are defined by that package. Net::SSLeay A package that provides a Perl-level interface to the "openssl" secure sockets layer library. perl v5.16.3 2012-07-30 Net::SSL(3)
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy