We have computer and an application written in Java. The application must work with SSL only.

Is there any way to fetch a list of current SSL connections?

link|improve this question

60% accept rate
feedback

2 Answers

up vote 0 down vote accepted

If you know the port on which the Java App listens, you should be able to view connections with the netstat command. If your machine is behind a firewall, you (or your network admin) should be able to monitor traffic to the machine - which might be easier and cleaner than using a sniffer.

link|improve this answer
feedback

No. Windows only tracks TCP connections and does not know anything about SSL/TLS, which works at a higher level than TCP.

What you can do is use Wireshark to monitor all network traffic, or ProcMon to see which TCP/UDP ports your program is connecting to. (Port monitoring is not very fool-proof, though.)

link|improve this answer
How about netstat? – Ha Ne Oct 25 '11 at 4:10
If you can find the word "SSL" in netstat's output, sure. Like I said the OS only tracks low level TCP connections. – grawity Oct 25 '11 at 5:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.