Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Handshake error can be about anything, i.e. mismatch in protocol version, wrong certificates, no cipher overlap, .... But there are some things which are very strange which your way of doing start_SSL. It looks like you've added any options you could find somewhere, no matter if they make sense for the SSL server or not. Some of these might be the cause of the problem:
  • You are setting SSL_server to true. This is correct
  • You are requesting a client certificate (SSL_VERIFY_PEER). This is probably not what you intend. Also, you add various options which are relevant for requesting of verification of server certificates (SSL_hostname, SSL_verifycn_..., ..) and which makes no sense in the role of an SSL server.
  • There is no verify_hostname option for IO::Socket::SSL::start_SSL. There is also no PeerAddr option. All options start with SSL_ prefix.
I would suggest to clean up the code and try again. If the problem persists try with a minimal server instead (i.e. no forkmanager) so that the problem can be more easily debugged.

In reply to Re^5: Problems with IO::Socket:SSL by noxxi
in thread Parallel::ForkManager or something like that? by Sascha2018

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • 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, 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, 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (4)
    As of 2021-05-08 02:00 GMT
    Find Nodes?
      Voting Booth?
      Perl 7 will be out ...

      Results (95 votes). Check out past polls.