Net::ACME::HTTP - transport logic for Net::ACME.
Net::ACME
my $resp = Net::ACME::HTTP->new()->get('https://url/to/endpoint'); my $http_authn = Net::ACME::HTTP->new( key => $account_key ); my $post_resp = $http_authn->post( 'https://url/to/endpoint', { foo => 4 }, #i.e., the payload to send %opts, #cf. HTTP::Tiny::request );
This module handles communication with an ACME server at the HTTP level. It handles the wrapping of POSTs in JWSes (JSON Wed Signatures).
Failure responses prompt exceptions. This includes cases like HTTP 409 from “new-reg”, which maybe isn’t an error case so much as just something to accommodate.
To install Net::ACME, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::ACME
CPAN shell
perl -MCPAN -e shell install Net::ACME
For more information on module installation, please visit the detailed CPAN module installation guide.