Hello. thanks for the replies :-) Now, one year later, i tried to get working my Perl Script. ( Chatserver ) I have installed it on localhost and i created a certificate with mkcert. Now, everytime, i want to login into my page i get an error in the browser:
Secure Connection Failed An error occurred during a connection to 127.0.0.1:22222. SSL_ERROR_RX +_UNEXPECTED_RECORD_TYPE
In my console i got this error:
DEBUG: .../IO/Socket/SSL.pm:1042: local error: SSL accept attempt fail +ed error:140940F4:SSL routines:ssl3_read_bytes:unexpected message [07.04.2020 - 20:17:06] SSL Error: SSL accept attempt failed error:140 +940F4:SSL routines:ssl3_read_bytes:unexpected message DEBUG: .../IO/Socket/SSL.pm:2875: free ctx 94723586472400 open=9472358 +6472400 94723590508016 DEBUG: .../IO/Socket/SSL.pm:2886: OK free ctx 94723586472400 DEBUG: .../IO/Socket/SSL.pm:962: no socket yet DEBUG: .../IO/Socket/SSL.pm:964: accept created normal socket IO::Sock +et::SSL=GLOB(0x56268dfe9eb0) DEBUG: .../IO/Socket/SSL.pm:992: starting sslifying DEBUG: .../IO/Socket/SSL.pm:1039: Net::SSLeay::accept -> 1 DEBUG: .../IO/Socket/SSL.pm:1087: handshake done, socket ready DEBUG: .../IO/Socket/SSL.pm:980: accept_SSL ok DEBUG: .../IO/Socket/SSL.pm:2853: new ctx 94723586472400 DEBUG: .../IO/Socket/SSL.pm:1540: start handshake DEBUG: .../IO/Socket/SSL.pm:992: starting sslifying DEBUG: .../IO/Socket/SSL.pm:1039: Net::SSLeay::accept -> -1 DEBUG: .../IO/Socket/SSL.pm:1042: SSL accept attempt failed DEBUG: .../IO/Socket/SSL.pm:1042: local error: SSL accept attempt fail +ed error:140940F4:SSL routines:ssl3_read_bytes:unexpected message [07.04.2020 - 20:17:06] SSL Error: SSL accept attempt failed error:140 +940F4:SSL routines:ssl3_read_bytes:unexpected message DEBUG: .../IO/Socket/SSL.pm:2875: free ctx 94723586472400 open=9472359 +0508016 94723586472400 DEBUG: .../IO/Socket/SSL.pm:2886: OK free ctx 94723586472400
How can i resolve the problem? Thank you very much

In reply to Re^2: IO::Socket::SSL Connection Error by Sascha2018
in thread IO::Socket::SSL Connection Error by Sascha2018

Title:
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, 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:
    & &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.