5 my $filename
= $m
->comp('/lib/filename_for_cert.mhtml',
6 'identifier' => $identifier
,
10 ## request the chain from the server
11 my $msg
= $context
->{client
}->send_receive_command_msg (
13 {'START_IDENTIFIER' => $identifier
,
14 'OUTFORMAT' => 'PEM'});
15 my $item
= join
"\n", @
{$msg
->{PARAMS
}->{CERTIFICATES
}};
19 $r
->header_out('Content-Disposition' => ("attachment; filename=$filename"));
23 $r
->headers_out
->add('Content-Disposition' => ("attachment; filename=$filename"));
25 $r
->content_type ("text/plain");