Keep It Simple, Stupid | |
PerlMonks |
Re: How to convert curl authentication method to perlby Corion (Patriarch) |
on Feb 28, 2020 at 16:52 UTC ( [id://11113550]=note: print w/replies, xml ) | Need Help?? |
If the code you show is supposed to be what the Curl command does, you have an inconsistency there. You are trying two different files:
is very different from
If the :secret_key in your Curl command means that the file is password protected, you will have to look at how IO::Socket::SSL or Net::SSLeay handle this, depending on which backend your code uses. For IO::Socket::SSL, see the SSL_passwd_cb callback.
In Section
Seekers of Perl Wisdom
|
|