Random Project

“Enhanced” version

After migrating from debian 6 to ubuntu 12.04 lts, this plugin did not work anymore.

I had to change the way, the cert, key and cacert parameters were set and added the following lines after creating the useragent $ua.

$ua->ssl_opts(
SSL_ca_file => $cacert,
SSL_cert_file => $certfile,
SSL_key_file => $key,
);