diff options
Diffstat (limited to 'client')
| -rwxr-xr-x | client | 3 | 
1 files changed, 2 insertions, 1 deletions
| @@ -338,7 +338,8 @@ elsif ($COMMAND eq 'newOrder') {          my $keyAuthorization = $challenge->{token}.'.'.$JWK_thumbprint;          # serve $keyAuthorization at http://$domain/.well-known/acme-challenge/$challenge->{token} -        if (sysopen(my $fh, $challenge->{token}, O_CREAT|O_EXCL|O_WRONLY, 0644)) { +        if (sysopen(my $fh, $challenge->{token}, O_CREAT|O_EXCL|O_WRONLY)) { +            # note: the file is created mode 0666 minus umask restrictions              $fh->print($keyAuthorization);              $fh->close() or die "close: $!";          } elsif ($! == EEXIST) { | 
