in reply to LWP UserAgent - Sending Client Certificate connect to remote host

I cannot reproduce you issue, but, according to docs , seems this line is wrong:
verify_hostname => 0, SSL_ca_file => 'cert.crt',
Instead try:
ssl_opts => { verify_hostname => 0, SSL_ca_file => 'cert.crt', }