in reply to How to convert curl authentication method to perl
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:
~/Desktop/file.pfx
is very different from
/Downloads/file.pfx
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to convert curl authentication method to perl
by newperldeveloper (Sexton) on Feb 28, 2020 at 17:15 UTC |