There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Net::ACME::HTTP - transport logic for Net::ACME.

SYNOPSIS

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
);

DESCRIPTION

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.