Hello Team, I have written a small program to verify my self-signed certificate. Please check below command that we are getting error.
use IO::Socket::SSL qw(debug3); use Net::SSLeay; # simple server my $server = IO::Socket::SSL->new( # where to listen LocalAddr => '127.0.0.1', LocalPort => 5000, Listen => 10, # which certificate to offer # with SNI support there can be different certificates per hostnam +e #verify_mode => Net::SSLeay->VERIFY_PEER(), SSL_cert_file => 'C:/Users/Documents/Private-Public-key-cert/Cert. +crt', SSL_key_file => 'C:/Users/Documents/Private-Public-key-cert/Privat +e0504.key', ca_file => 'C:/Users/Documents/Private-Public-key-cert/cacerts', ) or die "failed to listen: $!"; # accept client my $client = $server->accept or die "failed to accept or ssl handshake: $!,$SSL_ERROR";
Output available
DEBUG: .../IO/Socket/SSL.pm:3010: new ctx 43981520 DEBUG: .../IO/Socket/SSL.pm:1031: no socket yet
Can you please let me know this is expected?
In reply to Re^13: Unable to enable SSL on Dancer2 application in my windows platform.
by chandantul
in thread Unable to enable SSL on Dancer2 application in my windows platform.
by chandantul
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |