X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/0534a0d534bcd4fad8ac2daedf01c554bc163b30..refs/heads/master:/Acme.pm diff --git a/Acme.pm b/Acme.pm index a27e385..2360380 100644 --- a/Acme.pm +++ b/Acme.pm @@ -1063,11 +1063,14 @@ sub issue { write_file($file, $content); } - # Remove first multi-line jump - $content =~ s/\n\n/\n/; + # Write to raw cert file + write_file($self->{domain}{cert}.'.raw', $content); + + # Remove multi-line jump + $content =~ s/\n\n/\n/s; # Remove ISRG Root X1 certificate signed by DST Root CA X3 present after second multi-line jump - $content =~ s/\n\n.*//s; + #$content =~ s/\n\n.*//s; # Remove trailing line jump chomp $content;