newperldeveloper has asked for the wisdom of the Perl Monks concerning the following question:
This returns a 500 error.use LWP::UserAgent qw(); require LWP::Protocol::https; my $ua = LWP::UserAgent->new; $ua->ssl_opts( SSL_ca_file => '/Downloads/file.pfx', ); my $test = $ua->post('https://example.com/gettoken');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to convert curl authentication method to perl (client certificate)
by hippo (Archbishop) on Feb 28, 2020 at 16:53 UTC | |
by newperldeveloper (Sexton) on Feb 28, 2020 at 19:27 UTC | |
by Corion (Patriarch) on Feb 28, 2020 at 19:58 UTC | |
|
Re: How to convert curl authentication method to perl
by Corion (Patriarch) on Feb 28, 2020 at 16:52 UTC | |
by newperldeveloper (Sexton) on Feb 28, 2020 at 17:15 UTC |