in reply to IO::Socket::SSL

as stated by "perldoc IO::Socket::SSL" default locations for server key and server cert are certs/server-key.pem and certs/server-cert.pem (relative to working directory) so you have to copy your cert and key there or specify the correct location via the SSL_key_file and SSL_cert_file options

update you should also set SSL_ca_file as stated by the error message...