I try to add some UA attributes while using Image::Grab, like:
my $fp = 'sha256$26328...';
my $pic = Image::Grab->new( ua => { ssl_opts => { SSL_fingerprint => $fp } } );
I tried also as:
$pic->ua->ssl_opts( { SSL_fingerprint => $fp } );
Neither way UA (LWP) seems not get set properly. How to achieve the SSL_fingerprint setting? I need it because site's certificate has some chain flaw in and without specifying the fingerprint I can't connect it securely.