NAME

Net::ACME::Certificate - resource abstraction for Net::ACME

SYNOPSIS

    my $has_cert = Net::ACME::Certificate->new(
        content => $cert_der,
        type => 'application/pkix-cert',
        issuer_cert_uri => 'http://uri/to/issuer/cert',
    );

    my $cert_pem2 = $has_cert->pem();
    my (@issuers_pem) = $has_cert->issuers_pem();

DESCRIPTION

This module encapsulates interaction with ACME “certificate” resources when the certificate is available.

For handling cases of non-availability (i.e., HTTP 202 status from the ACME server), see Net::ACME::Certificate::Pending.