Help for this page

Select Code to Download


  1. or download this
    C:\Users\Documents\Perl\webapp\bin>plackup -p 5001 --ssl --ssl-key-fil
    +e=C:\Users\Documents\Private-Public-key-cert\Private0504.key --ssl-ce
    +rt-file=C:\Users\Documents\Private-Public-key-cert\Cert.crt --ca_file
    +=C:\Users\Documents\Private-Public-key-cert\cacerts --ssl_fingerprint
    +=sha1$B151CE74BC550FF4FF173266B906F0FCF45FFCEB app.psgi
    [webapp:9108] core @2021-05-05 21:36:01> Built config from files: C:\U
    +sers\Documents\Perl\webapp\config.yml C:\Users\Documents\Perl\webapp\
    +environments\development.yml in (eval 272) l. 910
    failed to listen to port 5001:  at C:/Strawberry/perl/site/lib/HTTP/Se
    +rver/PSGI.pm line 103..
    
  2. or download this
    use strict;
    use warnings;
    #use IO::Socket::SSL::DEBUG::3;
    ...
    # accept client
    my $client = $server->accept or die
        "failed to accept or ssl handshake: $!,$SSL_ERROR";
    
  3. or download this
    use strict;
    use warnings;
    #use IO::Socket::SSL::DEBUG::3;
    ...
    # accept client
    my $client = $server->accept or die
        "failed to accept or ssl handshake: $!,$SSL_ERROR";