Yes you can. I did in IE 5.9 it and it worked just fine. This is my Perl code:

#!/usr/bin/perl

require 5.003;
use strict;
use CGI;

my $cert_dir = "/usr/local/ssl/private";
my $cert_file = "CAcert.pem";

my $query = new CGI;

my $tipo = $query->param('FORMAT');
if ($tipo eq 'DER') { $cert_file = "CAcert.der"; }

my $cert_path = "$cert_dir/$cert_file";

my $data = "";
open(CERT, "<$cert_path");
while(<CERT>) { $data .= $_; }
close(CERT);

print "Content-Type: application/x-x509-ca-cert\n";
print "Content-Length: ", length($data), "\n\n$data";

Markus Wagner wrote:

Hi Benny,

Benny Chandra wrote:
>
> Hi Wyatt,
> You cannot import any certificate to IE using MIME types
> application/x-x509-ca-cert. I suggest you follow the way of MS Certificate

--
"Se que crees que entiendes lo que piensas que yo dije,
pero no estoy seguro de que te des cuenta
de que lo que escuchaste no es lo que yo quise decir"
Richard Nixon (y yo)
 

Reply via email to