http://www.perlmonks.org?node_id=993324


in reply to Re^2: LWP Can't POST to HTTPS
in thread LWP Can't POST to HTTPS

You certificates seem to be gone. Are they?

You never said whether adding certificates explicitely worked for you. In any case you can extract the certificates and then blindly accept them.

echo -n|openssl s_client -connect webcourses.ucf.edu:443 -showcerts|perl -Mautodie -0 -ne'%c = m|^\s*\d+ s:.*?/CN=([^\n]+).*?(-----BEGIN CERTIFICATE-----.*?-----END CERTIFICATE-----)|gms; for (keys %c) { open $c, ">", "$_.crt.pem"; print {$c} $c{$_}; close $c }'

Translating this to Windows is left as an exercise for you.