application/x-pkcs12 seems to be the proper mime type - I'm happy with that, even though it isn't officially registered with Iana (http://www.iana.org/assignments/media-types/).
Marcel ----- Original Message ----- From: "Michael Bell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, 9 April 2002 6:19 PM Subject: Re: [OpenCA-Devel] "Handle the certificate" step, downloading as PKCS#12 doesn't bring up "Save As" dialog > Lutz Jaenicke schrieb: > > > > On Tue, Apr 09, 2002 at 09:50:56AM +0200, Michael Bell wrote: > > > Marcel Juffermans schrieb: > > > > > > > > On line 40 of send_cert_key_p12, the content type is set as follows: > > > > > > > > print "Content-type: text/plain\n\n"; > > > > > > > > Then, the PKCS#12 file contents are printed. This causes Netscape 4.5 > > > > (probably other browsers as well) to display a page with the (binary) data, > > > > instead of offering a "Save As" dialog box. > > > > > > > > The above line should probably read: > > > > > > > > print "Content-type: application/octect-stream\n\n"; > > > > > > > > Or something of that nature. > > > > > > Does PKCS#12 be an octet-stream? If yes then I will update the todays > > > snapshot immediately. > > > > PKCS#12 is binary, but wouldn't it even happen to be > > application/x-pkcs12 ?? > > If the browser knows no application who can handle the data then the > dialog appears. x-pkcs12 sounds - good any other wishes? > > Michael > -- > ------------------------------------------------------------------- > Michael Bell Email (private): [EMAIL PROTECTED] > Rechenzentrum - Datacenter Email: [EMAIL PROTECTED] > Humboldt-University of Berlin Tel.: +49 (0)30-2093 2482 > Unter den Linden 6 Fax: +49 (0)30-2093 2959 > 10099 Berlin > Germany http://www.openca.org > > _______________________________________________ > OpenCA-Devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/openca-devel > _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel