Net::ACME::Authorization - fulfilled ACME authorization object
use Net::ACME::Authorization (); my $authz = Net::ACME::Authorization->new( status => 'valid', #or “invalid” challenges => [ @list_of_challenge_objects ], ); my @challenge_objs = $authz->challenges(); my $payload; while (!$cert) { if ($need_retry->is_time_to_poll()) { $cert = $need_retry->poll(); } sleep 1; }
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.