Sorry this question isn't 100% perl, however I've found that generally the Monks are very wise when it comes to things like this and I really need help!
I'm working on a project in which I need to open an SSL / TCP connection via port 7001 to a Windows machine from a Red Hat Linux box. Unfortunately this is the first time I've ever done anything with TCP, let alone working with
SSL in a manner that is not HTTPS. I've been mostly trying to open a socket via perl modules (IO::Socket::SSL, etc), however I'm not against trying anything else. I'm not sure
exactly where my problem is, I've tried to Telnet-SSL into the box, I receive a prompt and when I type any characters at all, the server instantly "hangs up". I've put a sniffer on the connection and it doesn't appear to be a firewall/network issue. Using the Perl modules, anytime I turn debug on, I get a lot of errors around the hand-shaking process, so much that I assume
the connection is not being established at all with SSL.
What am I doing wrong here? Is there a way to start up an SSL conversation to see if at least I can get somewhere? Is there anyway I can prove that the other server is indeed trying to establish an SSL connection as I'm trying
to establish a connection with it? or Perhaps I'm not using the right scripts to start the handshaking process?
Again sorry if this is in the wrong place, I'm really stumped, and I've
always gotten so much valuable help from the people here, so I thought maybe I could
get some assistance. If I can't get any answers here, does anyone have any suggestions towards other places I may get solutions from?
Thanks again for any bits of information anyone can provide!
Tri
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.