in reply to Https & Certificates

You could try using Net::SSLeay::use_certificate_file. It's mentioned in the documentation but not in great detail so I'm not sure if it does what you want, but from the name of it, it sounds like it might.