Hello!

I got in a strange problem. I noticed, that when wanting to download an 
"another user" certificate seen from the certs list, MS IE works fine, 
because it recognizes the content from the file type, for instance 
certificate.der and it offers to open the certificate. At the same time, 
Mozilla does not have a clue about what to do with such a file. The mime 
type for sending certificates in the DER format is application/binary 
Mozilla doesn't know what to do with this.

Ok, I tried to correct this in lib/cmds/sendcert to application/x-x509-email-cert and 
it was 
still the same. I putted out the Content-Disposition: attachment; line and 
Mozilla started to work and put the certificate in as it should, but then 
IE did not have clue what to do with the certificate being downloaded and 
it just offered to Save it.

I see a possible solution into fixing the code so that when sending a 
certificate the sendcert takes care of which browser somebody is using and 
sends it in a different way according to the browser. I could have done 
that, but to say the truth, I just didn't figure out, how to get the 
browser type there :-( I'm not too good in Perl :-|

So, is anybody willing to do that or has a better solution? ;-)

Thanks,
Janez



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to