line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::ACME2::LetsEncrypt; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
62251
|
use strict; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
23
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
395
|
use parent qw( Net::ACME2 ); |
|
1
|
|
|
|
|
550
|
|
|
1
|
|
|
|
|
4
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=encoding utf-8 |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 NAME |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Net::ACME2::LetsEncrypt - Let’s Encrypt’s v2 API endpoint |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 SYNOPSIS |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
See L for usage examples. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=cut |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
use constant { |
21
|
1
|
|
|
|
|
54
|
_STAGING_SERVER => 'acme-staging-v02.api.letsencrypt.org', |
22
|
|
|
|
|
|
|
_PRODUCTION_SERVER => 'acme-v02.api.letsencrypt.org', |
23
|
1
|
|
|
1
|
|
50
|
}; |
|
1
|
|
|
|
|
2
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
use constant { |
26
|
1
|
|
|
|
|
52
|
DIRECTORY_PATH => '/directory', |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
#JWS_FORMAT => 'compact', #v1 supported this? |
29
|
1
|
|
|
1
|
|
5
|
}; |
|
1
|
|
|
|
|
2
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
*HOST = *_STAGING_SERVER; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
#*HOST = *_PRODUCTION_SERVER; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |