perlnewbie9292 has asked for the wisdom of the Perl Monks concerning the following question:
!/usr/bin/perl use warnings; use strict; use Net::SSLeay qw(post_https); my $$hostIp = "xx.xx.xx.xx" my $hostPort = "8443" my $postCommand = "/postRf/string"; my $http_method = 'plain/text'; my $path_to_crt7 = 'pathToCert.pem'; my $path_to_key8 = 'pathToKey.pem'; my ($page, $response, %reply_headers) = post_https($hostIp, $hostPort, $postCommand, '', $http_method, $path_to_crt7, $path_to_key8 ); print $page . "\n"; print $response . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ssl client authentication
by zentara (Cardinal) on May 15, 2012 at 15:06 UTC |