I am doing some trouble shooting on an application that listens on tcp 443. This particular application talks via SSL. I wanted to connect to it with netcat. Is this possible?
Note: I'm not asking if netcat can encrypt its traffic.
I am doing some trouble shooting on an application that listens on tcp 443. This particular application talks via SSL. I wanted to connect to it with netcat. Is this possible?
Note: I'm not asking if netcat can encrypt its traffic.
You should use openssl s_client -connect server:port
to debug applications over SSL connections.
You probably want to make use of the openssl s_client -connect
command.
However it looks like this doesn't accept piped input as you might use with netcat
.
If the application is just an HTTP server then you can use standard terminal entry to perform your session.
netcat
doesn't support SSL. You can still use it to test whether you can establish a TCP connection, but not much more. Aside from the already suggested openssl s_client
, you can use ncat
(from nmap) or socat
. ncat
is very similar in usage to netcat
, socat
has a different syntax and is much more powerful, but should be able to do the same job.