8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Dummies Questions & Answers
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
3. Solaris
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
4. Shell Programming and Scripting
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
5. HP-UX
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
6. UNIX for Dummies Questions & Answers
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
7. Shell Programming and Scripting
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
8. UNIX for Dummies Questions & Answers
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
Net::SSLGlue::LWP(3pm) User Contributed Perl Documentation Net::SSLGlue::LWP(3pm)
NAME
Net::SSLGlue::LWP - proper certificate checking for https in LWP
SYNOPSIS
use Net::SSLGlue::LWP SSL_ca_path => ...;
use LWP::Simple;
get( 'https://www....' );
{
local %Net::SSLGlue::LWP::SSLopts = %Net::SSLGlue::LWP::SSLopts;
# switch off verification
$Net::SSLGlue::LWP::SSLopts{SSL_verify_mode} = 0;
# or: set different verification policy, because cert does
# not conform to RFC (wildcards in CN are not allowed for https,
# but some servers do it anyway)
$Net::SSLGlue::LWP::SSLopts{SSL_verifycn_scheme} = {
wildcards_in_cn => 'anywhere',
check_cn => 'always',
};
}
DESCRIPTION
Net::SSLGlue::LWP modifies Net::HTTPS and LWP::Protocol::https so that Net::HTTPS is forced to use IO::Socket::SSL instead of
Crypt::SSLeay, and that LWP::Protocol::https does proper certificate checking using the "http" SSL_verify_scheme from IO::Socket::SSL.
Because LWP does not have a mechanism to forward arbitrary parameters for the construction of the underlying socket these parameters can be
set globally when including the package, or with local settings of the %Net::SSLGlue::LWP::SSLopts variable.
All of the "SSL_*" parameter from IO::Socket::SSL can be used; the following parameters are especially useful:
SSL_ca_path, SSL_ca_file
Specifies the path or a file where the CAs used for checking the certificates are located. This is typically "etc/ssl/certs" on UNIX
systems.
SSL_verify_mode
If set to 0, verification of the certificate will be disabled. By default it is set to 1 which means that the peer certificate is
checked.
SSL_verifycn_name
Usually the name given as the hostname in the constructor is used to verify the identity of the certificate. If you want to check the
certificate against another name you can specify it with this parameter.
SEE ALSO
IO::Socket::SSL, LWP, Net::HTTPS, LWP::Protocol::https
COPYRIGHT
This module is copyright (c) 2008, Steffen Ullrich. All Rights Reserved. This module is free software. It may be used, redistributed
and/or modified under the same terms as Perl itself.
perl v5.14.2 2011-08-29 Net::SSLGlue::LWP(3pm)