Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: How to convert curl authentication method to perl

by Corion (Pope)
on Feb 28, 2020 at 16:52 UTC ( #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:


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.

Replies are listed 'Best First'.
Re^2: How to convert curl authentication method to perl
by newperldeveloper (Novice) 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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2020-05-31 07:28 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (173 votes). Check out past polls.