]>
Raphaƫl G. Git Repositories - acme/blob - gencert
11 use POSIX
qw(EXIT_SUCCESS EXIT_FAILURE);
16 # Strip and enable prod
17 @ARGV = map { if ($_ eq '-p') { $prod = 1; (); } else { $_; } } @ARGV;
20 if (scalar(@ARGV) < 2) {
21 print "Usage: $0 user\@example.com www.example.com [example.com] [...]\n";
26 my $acme = acme-
>new(shift @ARGV, @ARGV);
28 # Prepare environement
29 $acme->prepare($prod);
31 # Generate required keys
38 $acme->directory($prod);
44 $acme->authorize($prod);