Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^9: Unable to enable SSL on Dancer2 application in my windows platform.

by chandantul (Scribe)
on May 04, 2021 at 19:15 UTC ( [id://11132038]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Unable to enable SSL on Dancer2 application in my windows platform.
in thread Unable to enable SSL on Dancer2 application in my windows platform.

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^10: Unable to enable SSL on Dancer2 application in my windows platform.
by huck (Prior) on May 04, 2021 at 20:04 UTC

    try this

    plackup -p 55001 --ssl --ssl-key-file=C:\Users\Documents\Private-Publi +c\privateKey.key --ssl-cert-file=C:\Users\Documents\Private-Public\ce +rtificate.crt app.psg

      I was getting the same error

      failed to listen to port 55001:  at C:/Strawberry/perl/site/lib/HTTP/Server/PSGI.pm line 103.

      Can we have a command that verify the certificate? My certificate is self signed certificate. How can i verify the same?

      Dear Smart Monks, Are there anyone who can let me know to check the exact error with SSL validation here? How i can check the same?

      C:\Users\Documents\Perl\webapp\bin>plackup --ssl --ssl-key-file=C:\Use +rs\Documents\Private-Public-key-cert\Private0504.key --ssl-cert-file= +C:\Users\Documents\Private-Public-key-cert\Cert.crt --ssl_fingerprint +=B1:51:CE:74:BC:55:0F:F4:FF:17.......... app.psgi [webapp:35672] core @2021-05-05 00:19:35> Built config from files: C:\ +Users\Documents\Perl\Synchrony-Perl\webapp\config.yml C:\Users\Docume +nts\Perl\Synchrony-Perl\webapp\environments\development.yml in (eval +272) l. 910 failed to listen to port 5000: at C:/Strawberry/perl/site/lib/HTTP/Se +rver/PSGI.pm line 103.

        The doc for IO::Socket::SSL suggests setting the environment variable $IO::Socket::SSL::DEBUG to 1, 2 or 3.

        Hope this helps!


        The way forward always starts with a minimal test.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found