Wednesday, April 22, 2009

Calories Gtilled Shrimp

Making electrical connections to port SSL / TLS Enhancements

is not very difficult to prove or verify many of the Internet services by hand with a simple telnet to port service. This can not only verify that the port is open and listening, but in many cases it is possible to simulate or perform hand dialogue with the server.

But for the service to try to use SSL or TLS, we can not use Telnet to dialogue with the server. But for that we can use the openssl command in client mode. In particular to simulate a simple connection to a port that use SSL or TLS can use: openssl
s_client-connect server: port
This dialogue began SSL to the server and the certificate and show us the same information, as well as, if not a self-signed certificate, try to verify it. Once the dialogue and the verification of the certificate, we show the summary of the connection as follows:
New, TLSv1/SSLv3, Cipher is AES256-SHA Server public key
is 1024 bit Compression
: NONE
Expansion: NONE
SSL-Session:
Protocol: TLSv1 Cipher
:
AES256-SHA Session-ID: E9F3218C651A1F59CFA21D997AE63CF80810F70CD9D62F456F98B15E85F71C4D
Session-ID-ctx: Master-Key
: ACCA4FE23EEA8C8FE414C3FAB570C1D51115B685CD6662FB56961604272F0C347A57040FA78DDBF42F35E3B205D4A103
Key-Arg: None Start Time
:
1240453754 Timeout: 300 (sec) Verify return code
: 18 (self signed certificate )

After that, we have already established connection and can execute commands on hand to test the service in particular as we would using Telnet






0 comments:

Post a Comment