Hello,
When a user tries to 'get a requested certificate' with Firefox the cert is 
installed by without any message to inform the user about it. 
Here is a patch to fix this behaviour in getcert cmd. You may want to fix the 
"Certificate Installation for Internet Explorer" message as well. Its a 
cosmetic fix but quite important from the users point of view.



*** /tmp/getcert        Mon Mar 27 12:07:50 2006
--- /usr/local/OpenCA/lib/cmds/getcert  Mon Mar 27 15:18:30 2006
*************** sub cmdGetcert {
*** 114,121 ****
--- 114,129 ----
                              );
      } else {
          ## Mozilla, Opera
+ 
+ my $RandomString="MessageBoundary".timestamp();
+ my $exp = '<a class="normal" name="result">Installing certificate...</a>';
+ print "Content-type: multipart/x-mixed-replace; boundary=$RandomString\n\n";
+ print "--".$RandomString."\n";
          print "Content-type: application/x-x509-user-cert\n\n";
          print $mycert;
+ print "--".$RandomString."\n";
+ libSendReply ( "NAME"  => gettext ("Certificate Installation for Internet 
Explorer"), "EXPLANATION"    => $exp, );
+ print "--".$RandomString."--\n\n";
      }
  
  }


Regards,

--
Christos Siaterlis   Network Management Center
[EMAIL PROTECTED]    National Technical Univ. of Athens, GREECE


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to