| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | use version; | ||
| 4 | |||
| 5 | package WWW::LetsEncrypt; | ||
| 6 | # ABSTRACT: A communication layer for talking to Let's Encrypt | ||
| 7 | $WWW::LetsEncrypt::VERSION = '0.001'; | ||
| 8 | |||
| 9 | =pod | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | WWW::LetsEncrypt | ||
| 14 | |||
| 15 | =head1 SYNOPSIS | ||
| 16 | |||
| 17 | use WWW::LetsEncrypt::JWK::RSA; | ||
| 18 | use WWW::LetsEncrypt::Message::Registration; | ||
| 19 | ...; | ||
| 20 | |||
| 21 | my $JWK = WWW::LetsEncrypt::JWK::RSA->new({ | ||
| 22 | ... | ||
| 23 | }); | ||
| 24 | |||
| 25 | my $Message = WWW::LetsEncrypt::Message::Registration->new({ | ||
| 26 | jwk => $JWK, | ||
| 27 | nonce => 'NONCE VALUE', | ||
| 28 | }); | ||
| 29 | |||
| 30 | $Message->do_request(); | ||
| 31 | ...; | ||
| 32 | |||
| 33 | =head1 DESCRIPTION | ||
| 34 | |||
| 35 | This is an unofficial implementation of the ACME protocol that can be used to | ||
| 36 | engage the Let's Encrypt servers. We currently support RSA account keys, and | ||
| 37 | most operations in the API calls. All calls are made via LWP (or something | ||
| 38 | close enough to it). This is just the communication layer between a server and | ||
| 39 | the Let's Encrypt's CA. You will need to implement actually putting the | ||
| 40 | challenge information where it needs to go. | ||
| 41 | |||
| 42 | Currently, only the computation of the HTTP-01 challenge is supported, but we | ||
| 43 | should be adding dns-01 support soon. | ||
| 44 | |||
| 45 | This code is not endorsed in any way by Let's Encrypt, the ISGR, or any company | ||
| 46 | that is affiliated with Let's Encrypt. | ||
| 47 | |||
| 48 | Please use github for any bugs or requests. | ||
| 49 | |||
| 50 | =head1 AUTHOR | ||
| 51 | |||
| 52 | Michael Ballard | ||
| 53 | |||
| 54 | =head1 COPYRIGHT | ||
| 55 | |||
| 56 | Copyright (C) 2015, 2016 | ||
| 57 | DreamHost | ||
| 58 | |||
| 59 | =head1 LICENSE | ||
| 60 | |||
| 61 | These modules are free software; and can be redistributed/modified under the | ||
| 62 | same terms as Perl itself. | ||
| 63 | |||
| 64 | =over | ||
| 65 | |||
| 66 | =item L<perlgpl> | ||
| 67 | |||
| 68 | =back | ||
| 69 | |||
| 70 | =cut | ||
| 71 | |||
| 72 | 1; |