]>
Raphaƫl G. Git Repositories - acme/blob - gencert
ff77f241bf467f2da5e922b7b69c7041a83ba42a
11 use POSIX
qw(EXIT_SUCCESS EXIT_FAILURE);
19 # Strip and enable debug
20 @ARGV = map { if ($_ eq '-d') { $debug = 1; (); } else { $_; } } @ARGV;
22 # Strip and enable prod
23 @ARGV = map { if ($_ eq '-p') { $prod = 1; (); } else { $_; } } @ARGV;
26 if (scalar(@ARGV) < 2) {
27 print "Usage: $0 user\@example.com www.example.com [example.com] [...]\n";
32 my $acme = acme-
>new(shift @ARGV, $debug, $prod, @ARGV);
34 # Prepare environement
37 # Generate required keys