You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
310 B
14 lines
310 B
{
|
|
|
|
my $uri = $letsencrypt{'Uri'} || 'staging';
|
|
if ($uri =~ m{^https?://}){
|
|
$OUT .= "CA=$uri\n";
|
|
}
|
|
elsif ($uri =~ m/^(test(ing)?)|staging$/){
|
|
$OUT .= "CA=https://acme-staging.api.letsencrypt.org/directory\n";
|
|
}
|
|
elsif ($uri =~ m/^prod/){
|
|
$OUT .= "CA=https://acme-v01.api.letsencrypt.org/directory\n";
|
|
}
|
|
|
|
}
|
|
|