Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to convert curl authentication method to perl

by Corion (Patriarch)
on Feb 28, 2020 at 16:52 UTC ( [id://11113550]=note: print w/replies, xml ) Need Help??


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
    Fixed that error after uploading. Still get same results. I will check out IO::Socket and NET::SSLeay. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11113550]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-24 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found