And default to stagingtags/smeserver-letsencrypt-client-0.2.4-1 0.1.2_el5
parent
b088baa65d
commit
752f3d3a41
2 changed files with 15 additions and 0 deletions
@ -0,0 +1 @@ |
||||
staging |
@ -0,0 +1,14 @@ |
||||
{ |
||||
|
||||
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"; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue