10 More Discussions You Might Find Interesting
1. Linux
Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website!
please advise if I missed any concept / configs... Thank you!
httpd.conf
<VirtualHost *:80>
ServerName www.my-site.com
ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
I want to get the only application name from the server.
Ex:
if i give $ ps -ef | grep bw.
It will show all BW process with entire path. It will little confuse to list out the process. Can anyone have syntax to get only the instance name. I need this for be, hawk,ems also.
Please... (2 Replies)
Discussion started by: ckchelladurai
2 Replies
3. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
4. Web Development
I have interesting problem.
https:/host/some/x.cgi
- this script has run twice when I call this url
But
http:/host/some/x.cgi
work fine, only once.
Output is text/plain.
If I change output format to the Content-type text/html,
then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies
5. Shell Programming and Scripting
Guys please see below functions to return a status depending on user input. Both seem to work the same.
The second way has a : line which i can't understand or see in a ksh manual anywhere. Instead of doing the variable change if its empty on this line the first function simply does it on the... (7 Replies)
Discussion started by: lavascript
7 Replies
6. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
7. UNIX for Dummies Questions & Answers
i have configured Squid proxy server in Fedora 8 with two network interfaces.
HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl).
so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a property in a file as:
property=value=a
If I use FS="=" then I want only first = to be considered as field separator and remaining as value
echo -e "property=value=a" | awk -F= '{print $2}'
ie my $2 should be value=a
Can anyone please help me with this. I need it in... (3 Replies)
Discussion started by: gurukottur
3 Replies
9. Shell Programming and Scripting
Alright, I think I know what I am doing with sed(which probably means I don't). But I cant figure out how to replace just the first occurance of a string. I have tried sed, ed, and grep but can't seem to figure it out. If you have any suggestions I am open to anything! (3 Replies)
Discussion started by: IronHorse7
3 Replies
10. UNIX for Advanced & Expert Users
Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
Net::SSLGlue::SMTP(3pm) User Contributed Perl Documentation Net::SSLGlue::SMTP(3pm)
NAME
Net::SSLGlue::SMTP - make Net::SMTP able to use SSL
SYNOPSIS
use Net::SSLGlue::SMTP;
my $smtp_ssl = Net::SMTP->new( $host,
SSL => 1,
SSL_ca_path => ...
);
my $smtp_plain = Net::SMTP->new( $host );
$smtp_plain->starttls( SSL_ca_path => ... );
DESCRIPTION
Net::SSLGlue::SMTP extends Net::SMTP so one can either start directly with SSL or switch later to SSL using the STARTTLS command.
By default it will take care to verify the certificate according to the rules for SMTP implemented in IO::Socket::SSL.
METHODS
new The method "new" of Net::SMTP is now able to start directly with SSL when the argument "<SSL =" 1>> is given. In this case it will not
create an IO::Socket::INET object but an IO::Socket::SSL object. One can give the usual "SSL_*" parameter of IO::Socket::SSL to
"Net::SMTP::new".
starttls
If the connection is not yet SSLified it will issue the STARTTLS command and change the object, so that SSL will now be used. The usual
"SSL_*" parameter of IO::Socket::SSL will be given.
peer_certificate ...
Once the SSL connection is established the object is derived from IO::Socket::SSL so that you can use this method to get information
about the certificate. See the IO::Socket::SSL documentation.
All of these methods can take the "SSL_*" parameter from IO::Socket::SSL to change the behavior of the SSL connection. 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, Net::SMTP
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 2012-04-06 Net::SSLGlue::SMTP(3pm)