04-17-2013
Thanks Corona688 for your answer. But, my question is how to change port of SSL which is 443 by default.
Also, can you please clarify with the help of an example how changing /etc/services is going to mislabel the netstat listings?
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an application service running on an AIX server
Client application is able to connect to the server machine.
Strange thing is
when i do "netstat -a | grep servicename" I get no output
but
when i do "ps -ef | grep service name", I am able to see the service running
I... (1 Reply)
Discussion started by: bryan
1 Replies
2. AIX
How can i check which service is activated on my AIX Box?
how one can check particular port is open or not (like ftp/telnet port)?
I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies
3. Solaris
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Discussion started by: Harleyrci
15 Replies
4. UNIX for Advanced & Expert Users
I'm becoming a dying breed where I work. More and more sys admins are advocating automatically restarting failed services such as tomcat, jboss, etc. I've always been against doing this except with buggy apps that can't be fixed or avoided.
My main argument is that I feel it's a trick used by... (9 Replies)
Discussion started by: mglenney
9 Replies
5. AIX
hello,
i have an AIX6.1.7.2 machine that it was upgraded recently from AIX5.3.9.4.
when i kill system services that should restart automatically like /usr/sbin/cron it doesnt start.
i checked my /etc/inittab file and i confirmed that this service is in respawn status so when i kill this process... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
6. Ubuntu
I am trying to find out what port number is used for SSH communication and HTTPS services in my Ubuntu OS.
Thank you,
Crim (1 Reply)
Discussion started by: crimputt
1 Replies
7. Shell Programming and Scripting
Hi Guys,
I need bash script to restart the service.
1. Disable the service called SASM
svcadm disable sasm
2. if service went to maintenance mode then it shuld clear it with below command
svcadm clear sasm
3.or else it should restart the mysql service
/etc/init.d/mysql stop... (1 Reply)
Discussion started by: bapu1981
1 Replies
8. Shell Programming and Scripting
Hi,
I just started working on a script. After my research, i found a command which can help me:
AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2.
So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies
9. SuSE
Hi,
We have a ldap server configured with services (port) and want to know how to fetch that to the ldap clients:
# cat /etc/nsswitch.conf|grep -i services
services: files sss (neither sss nor ldap works)
by doing "#getent services" I am getting only the result from /etc/services but I... (1 Reply)
Discussion started by: Sridaran
1 Replies
10. Debian
Hello,
I would like to do follow steps.
Set a static IP-Adress on eth0 (For Testing)
Set DHCP on eth0
All steps should be done without a single reboot.
/etc/network/interfaces
iface eth0 inet static
address 192.0.2.7/24
gateway 192.0.2.254How do i perform... (3 Replies)
Discussion started by: int3g3r
3 Replies
LEARN ABOUT DEBIAN
net::proxy::connector::ssl
Net::Proxy::Connector::ssl(3pm) User Contributed Perl Documentation Net::Proxy::Connector::ssl(3pm)
NAME
Net::Proxy::Connector::ssl - SSL Net::Proxy connector
DESCRIPTION
"Net::Proxy::Connecter::ssl" is a "Net::Proxy::Connector" that can manage SSL connections (thanks to "IO::Socket::SSL").
By default, this connector creates SSL sockets. You will need to subclass it to create "smarter" connectors than can upgrade their
connections to SSL.
In addition to the options listed below, this connector accepts all "SSL_..." options to "IO::Socket::SSL". They are transparently passed
through to the appropriate "IO::Socket::SSL" methods when needed.
CONNECTOR OPTIONS
The connector accept the following options:
"in"
o host
The listening address. If not given, the default is "localhost".
o port
The listening port.
o start_cleartext
If true, the connection will start in cleartext. It is possible to upgrade a socket to using SSL with the "upgrade_SSL()" method.
"out"
o host
The listening address. If not given, the default is "localhost".
o port
The listening port.
o start_cleartext
If true, the connection will start in cleartext. It is possible to upgrade a socket to using SSL with the "upgrade_SSL()" method.
METHODS
The "Net::Proxy::Connector::ssl" connector has an extra method:
upgrade_SSL( $sock )
This method will upgrade a cleartext socket to SSL. If the socket is already in SSL, it will "carp()".
CREATING A SELF-SIGNED CERTIFICATE
I tend to forget this information, and the openssl documentation doesn't make this any clearer, so here are the most basic commands needed
to create your own self-signed certificate (courtesy David Morel):
$ openssl genrsa -out key.pem 1024
$ openssl req -new -key key.pem -x509 -out cert.pem -days 365
A certificate is required is you want to run a SSL server or a proxy with a "Net::Proxy::Connector::ssl" as its "in" connector.
Once the key and certificate have been created, you can use them in your parameter list to "Net::Proxy->new()" (they are passed through to
"IO::Socket::SSL"):
Net::Proxy->new(
{
in => {
host => '0.0.0.0',
port => 443,
SSL_key_file => 'key.pem',
SSL_cert_file => 'cert.pem',
},
out => { type => 'tcp', port => '80' }
}
);
AUTHOR
Philippe 'BooK' Bruhat, "<book@cpan.org>".
COPYRIGHT
Copyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2009-10-18 Net::Proxy::Connector::ssl(3pm)